azure-container-service

How to pull docker image from docker hub private registry into Azure Container Service (ACS)?

余生颓废 提交于 2019-12-08 13:41:45
问题 I have setup a private registry in Docker hub (hub.docker.com): rbiswas/http-service. Now I am trying to pull/run this image into Azure Container Service (ACS) cluster vm by following the steps mentioned below: First I ssh into the ACS cluster using command: ssh -i /home/rbiswas/.ssh/acs_rsa -L 2375:localhost:2375 -N rbiswas@swarmclustermgmt.eastasia.cloudapp.azure.com -p 2200 Then I use the following commands in another terminal: docker -H tcp://localhost:2375 login hub.docker.com docker -H

Setting up Persistent Data for Carto/Postgresql on ACI

a 夏天 提交于 2019-12-08 10:45:15
问题 My main objective is to get an image up and running quickly and easily while persisting data. I THINK an ACI is the best way to do this. Assuming this is true... [Edit2] It appears that there may be a more fundamental problem is the inability to specify a hostname like you can in docker. I will ask that question in a separate thread. I was able to attach storage. [Original post] I would like to use an ACI to setup this an image that is on Docker Hub. I have been able to follow the simple

Does NodePort work on Azure Container Service (Kubernetes)

懵懂的女人 提交于 2019-12-08 06:54:49
问题 I have got the following service for Kubernetes dashboard Name: kubernetes-dashboard Namespace: kube-system Labels: k8s-app=kubernetes-dashboard kubernetes.io/cluster-service=true Annotations: kubectl.kubernetes.io/last-applied-configuration={"kind":"Service","apiVersion":"v1","metadata":{"name":"kubernetes-dashboard","namespace":"kube-system","creationTimestamp":null,"labels":{"k8s-app":"k... Selector: k8s-app=kubernetes-dashboard Type: NodePort IP: 10.0.106.144 Port: <unset> 80/TCP NodePort

How can I find the service principal secret of my AKS cluster?

泪湿孤枕 提交于 2019-12-06 19:29:44
问题 Okay, so I messed up, I accidentally ran az ad sp reset-credentials against the Service Principal that our AKS cluster runs under. And now we are getting errors like: Error creating load balancer (will retry): error getting LB for service test/admin-api: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/****/resourceGroups/MC_****/providers/Microsoft.Network/loadBalancers?api-version=2017-09-01: StatusCode=0 --

Azure: Microsoft.Compute resource provider stuck 'Registering' for about a day

柔情痞子 提交于 2019-12-06 04:03:28
问题 I've tried un-registering and re-registering and it just keeps getting stuck. No logs I can see so I'm not really sure what to do... Has anyone experienced this before? 回答1: It appears that there was some issue, which is now mitigated. Check your Service Health/Resource Health page. The ‘Service Health’ - Service issues view shows any ongoing problems in Azure services that are impacting your resources. You can understand when the issue began, and what services and regions are impacted. You

Azure Kubernetes: TLS handshake timeout

那年仲夏 提交于 2019-12-05 12:45:49
I created a new cluster as per the Azure guide and created the cluster without issue but when I enter the kubectl get nodes to list the nodes I only get this response Unable to connect to the server: net/http: TLS handshake timeout . I tried once in the Cloud Shell and once on my machine using the latest version of the Azure CLI (2.0.20). I saw that there was a similar earlier issue regarding Service Principal credentials , which I updated but that didn't seem to solve my issue either. Any guidance would be greatly appreciated. Piling on: we are adding capacity as fast as possible for the

Deployment with docker-compose to Azure using CLI gives timeout when visiting agent page

偶尔善良 提交于 2019-12-05 08:10:50
I have docker-compose file: version: "3" services: app2: image: kamilwit/dockerdocker_app2 container_name: app2 build: context: ./app2 volumes: - app2data:/data environment: - LOGGING_LOG-FILES-PATH=/opt/tomcat/logs ports: - "8000:8080" app: image: kamilwit/dockerdocker_app container_name: app build: context: ./app volumes: - app1data:/data environment: - LOGGING_LOG-FILES-PATH=/opt/tomcat/logs ports: - "8001:8080" volumes: app1data: app2data: I followed the instructions from https://docs.microsoft.com/en-us/azure/container-service/dcos-swarm/container-service-swarm-walkthrough To be exact I

Azure: Microsoft.Compute resource provider stuck 'Registering' for about a day

吃可爱长大的小学妹 提交于 2019-12-04 09:11:54
I've tried un-registering and re-registering and it just keeps getting stuck. No logs I can see so I'm not really sure what to do... Has anyone experienced this before? It appears that there was some issue, which is now mitigated. Check your Service Health/Resource Health page. The ‘Service Health’ - Service issues view shows any ongoing problems in Azure services that are impacting your resources. You can understand when the issue began, and what services and regions are impacted. You can also read the most recent update to understand what Azure is doing to resolve the issue. Resource health

Pull image Azure Container Registry - Kubernetes

人走茶凉 提交于 2019-12-03 12:51:57
Does anyone have any advice on how to pull from Azure container registry whilst running within Azure container service (kubernetes) I've tried a sample deployment like the following but the image pull is failing: kind: Deployment apiVersion: extensions/v1beta1 metadata: name: jenkins-master spec: replicas: 1 template: metadata: name: jenkins-master labels: name: jenkins-master spec: containers: - name: jenkins-master image: myregistry.azurecr.io/infrastructure/jenkins-master:1.0.0 imagePullPolicy: Always readinessProbe: tcpSocket: port: 8080 initialDelaySeconds: 20 timeoutSeconds: 5 ports: -

Mount a volume while using a docker container in Azure App Service

给你一囗甜甜゛ 提交于 2019-12-03 07:39:05
I've deployed a Web App on Azure and use a Docker Container from the public registry (my own image) to host my website. But users can upload pictures and data is stored in json-files on the server. Of course I want to write these files to a mounted volume outside of the container. So that I can redeploy an update version of my website without losing data. Is that possible with Web Apps? Or do I need to move on to an Ubuntu VM with Docker on Azure? What I like about the webapps is I don't have to worry about managing the VM and only care about my container. This blog post is a great start and