azure-aks

Installation error in Service mesh Linkerd service mesh in aks

允我心安 提交于 2020-05-17 07:45:07
问题 I have followed the getting started instructions here: https://linkerd.io/2/getting-started/ for installing linkerd but i am not able to install cli of linkerd. Please see the command below: curl -sL https://run.linkerd.io/install | sh Please see the error below: curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate

How can I pass container level arguments in azure container create

╄→尐↘猪︶ㄣ 提交于 2020-04-18 05:46:17
问题 When I run docker locally "docker run -it -p 8080:8080 codercom/code-server --auth none" I am using --auth none argument, but how can i use this in azure container create commands. If I run normally like "az container create --resource-group learn-deploy-vsCode --name code-server --image codercom/code-server --auth none --ports 8080 --dns-name-label san-codeserver --location eastus" it is throwing error "az: error: unrecognized arguments: --auth none" . 回答1: When you run the command docker

Keep running into “exceeded its progress dead line” despite changing progressDeadlineSeconds

折月煮酒 提交于 2020-03-25 18:17:10
问题 I'm new AKS, ACR, and DevOps Pipelines and I'm trying to setup a CI/CD pipeline. I have a resource group setup that has both AKS and ACR in it. AKS is using Standard_B2s and only one node at this point since I'm just playing around. Images are being deployed to ACR automatically on a commit to master--haven't figured out how to setup testing yet--but when it comes to deploying to AKS, I just keep getting a: ##[error]error: deployment "client-deployment" exceeded its progress deadline I've

How to fix “failed to ensure load balancer” error for nginx ingress

匆匆过客 提交于 2020-02-06 23:52:47
问题 When setting a new nginx-ingress using helm and a static ip on Azure the nginx controller never gets the static IP assigned. It always says <pending> . I install the helm chart as follows - helm install stable/nginx-ingress --name <my-name> --namespace <my-namespace> --set controller.replicaCount=2 --set controller.service.loadBalancerIP="<static-ip-address>" It says it installs correctly but there is an error listed as well E0411 06:44:17.063913 13264 portforward.go:303] error copying from

How to fix “failed to ensure load balancer” error for nginx ingress

不羁的心 提交于 2020-02-06 23:52:19
问题 When setting a new nginx-ingress using helm and a static ip on Azure the nginx controller never gets the static IP assigned. It always says <pending> . I install the helm chart as follows - helm install stable/nginx-ingress --name <my-name> --namespace <my-namespace> --set controller.replicaCount=2 --set controller.service.loadBalancerIP="<static-ip-address>" It says it installs correctly but there is an error listed as well E0411 06:44:17.063913 13264 portforward.go:303] error copying from

Resolve custom dns in kubernetes cluster (AKS)

偶尔善良 提交于 2020-02-05 22:56:37
问题 We currently have pods in a kubernetes cluster (AKS) that need to resolve two different domains. The first domain beeing the cluster domain default.svc.cluster.local and the second one beeing mydns.local how can this be achieved? 回答1: I found the solution myself. There are two ways to achieve the desired name resolution: If your AKS Cluster is within an Azure VNET you can set the DNS settings in the VNET to the custom DNS Server that is able to resolve your custom domain. If your Pods have no

How to copy files from kubernetes Pods to local system

烂漫一生 提交于 2020-01-31 03:09:09
问题 I'm trying to copy files from Kubernetes Pods to my local system. I am getting the below error while running following command: kubectl cp aks-ssh2-6cd4948f6f-fp9tl:/home/azureuser/test.cap ./test.cap Output: tar: home/azureuser/test: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors error: home/azureuser/test no such file or directory I could see the file under above given path. I am really confused. Could you please help me out? 回答1: As stated in

Hosting django on aks behind nginx-ingress

一个人想着一个人 提交于 2020-01-16 09:04:22
问题 I am trying to host a django website on Azure kubernetes service behide nginx-ingress, and I would like my django web show under a path. e.g. when access the default admin site, I would like to access it at http://example.com/django/admin instead of http://example.com/admin I tried the configure below, when I access http://example.com/django/admin it will forward me to http://example.com/admin and show me 404 error from default ingress backend, as I set django debug to ture I assume this mean

Azure CLI aks install cli permission denied and sudo does not work

假装没事ソ 提交于 2020-01-15 05:55:08
问题 I'm trying to run az aks install-cli but I get an error that says Downloading client to "/usr/local/bin/kubectl" from "https://storage.googleapis.com/kubernetes-release/release/v1.14.0/bin/linux/amd64/kubectl" Connection error while attempting to download client ([Errno 13] Permission denied: '/usr/local/bin/kubectl') If I use sudo I get: bash: sudo: command not found Not sure how to elevate permissions other than using sudo 回答1: You do not need to install the kubectl for AKS if you use the

Handling PersistentVolumeClaim in DaemonSet

♀尐吖头ヾ 提交于 2020-01-04 04:31:25
问题 I have a DaemonSet that creates flink task manager pods, one per each node. Nodes Say I have two nodes node-A node-B Pods the daemonSet would create pod-A on node-A pod-B on node-B Persistent Volume Claim I am on AKS and want to use azure-disk for Persistent Storage According to the docs : [https://docs.microsoft.com/en-us/azure/aks/azure-disks-dynamic-pv ] an azure disk can be associated on to single node say I create pvc-A for pv-A attached to node-A pvc-B for pv-B attached to node-B