azure-aks

How to set kube-proxy settings using kubectl on AKS

你离开我真会死。 提交于 2021-02-20 19:08:01
问题 I keep reading documentation that gives parameters for kube-proxy, but does not explain how where these parameters are supposed to be used. I create my cluster using az aks create with the azure-cli program, then I get credentials and use kubectl. So far everything I've done has involved yaml for services and deployments and such, but I can't figure out where all this kube-proxy stuff fits into all of this. I've googled for days. I've opened question issues on github with AKS. I've asked on

How to set kube-proxy settings using kubectl on AKS

孤街浪徒 提交于 2021-02-20 19:05:21
问题 I keep reading documentation that gives parameters for kube-proxy, but does not explain how where these parameters are supposed to be used. I create my cluster using az aks create with the azure-cli program, then I get credentials and use kubectl. So far everything I've done has involved yaml for services and deployments and such, but I can't figure out where all this kube-proxy stuff fits into all of this. I've googled for days. I've opened question issues on github with AKS. I've asked on

Kubernetes - “Mount Volume Failed” when trying to deploy

末鹿安然 提交于 2021-02-19 07:49:51
问题 I deployed my first container, I got info: deployment.apps/frontarena-ads-deployment created but then I saw my container creation is stuck in Waiting status. Then I saw the logs using kubectl describe pod frontarena-ads-deployment-5b475667dd-gzmlp and saw MountVolume error which I cannot figure out why it is thrown: Warning FailedMount 9m24s kubelet MountVolume.SetUp failed for volume "ads-filesharevolume" : mount failed: exit status 32 Mounting command: systemd-run Mounting arguments: -

Kubernetes: How to automatically clean up unused images

笑着哭i 提交于 2021-02-19 07:35:49
问题 Due to some internal issues, we need to remove unused images as soon as they become unused. I do know it's possible to use Garbage collection but it doesn't offer strict policy as we need. I've come across this solution but it's deprecated it also removes containers and possible mounted volumes I was thinking about setting a cron job directly over the nodes to run docker prune but I hope there is a better way No idea if it makes a difference but we are using AKS 回答1: This doesn't really

Kubernetes: How to automatically clean up unused images

谁说我不能喝 提交于 2021-02-19 07:35:22
问题 Due to some internal issues, we need to remove unused images as soon as they become unused. I do know it's possible to use Garbage collection but it doesn't offer strict policy as we need. I've come across this solution but it's deprecated it also removes containers and possible mounted volumes I was thinking about setting a cron job directly over the nodes to run docker prune but I hope there is a better way No idea if it makes a difference but we are using AKS 回答1: This doesn't really

Permissions error when attaching Azure Disk to AKS pod

烂漫一生 提交于 2021-02-19 02:56:09
问题 I've been battling this error for a few hours now. Found several articles but nothing that has helped so far. My work has been based on the "How-to guide > Configure data volumes > Azure Disk - Static" from https://docs.microsoft.com/en-us/azure/aks/azure-disk-volume. As far as I can tell, I've not missed any steps. I have defined by config in a YAML file as so: kind: Deployment metadata: name: phio-dep-db namespace: production spec: selector: matchLabels: app: phio replicas: 1 strategy: type

Kubernetes nginx ingress rabbitmq management and kibana

纵饮孤独 提交于 2021-02-18 11:28:12
问题 On my AKS cluster I have a Nginx ingress controller that I used to reverse proxy my kibana service running on the AKS. I want to however add another http services through the ingress, rabbitmq management console. I'm unable to get both to work with the following configuration: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: ingress-aegis namespace: dev annotations: kubernetes.io/ingress.class: nginx certmanager.k8s.io/cluster-issuer: letsencrypt-prod nginx.ingress.kubernetes.io

Can one use Docker Trusted Registry with Azure Kubernetes Service?

我只是一个虾纸丫 提交于 2021-02-11 08:08:10
问题 Does anyone know if you can use Docker Trusted Registry (DTR) with Azure Kubernetes Service (AKS)? Or is one required to use Azure Container Registry (ACR)? Thank you! Michael 回答1: It has always been possible to use registries beyond ACR with an AKS cluster if access and credentials are provided. You can read more details from here 来源: https://stackoverflow.com/questions/63267596/can-one-use-docker-trusted-registry-with-azure-kubernetes-service

Can one use Docker Trusted Registry with Azure Kubernetes Service?

只愿长相守 提交于 2021-02-11 08:07:56
问题 Does anyone know if you can use Docker Trusted Registry (DTR) with Azure Kubernetes Service (AKS)? Or is one required to use Azure Container Registry (ACR)? Thank you! Michael 回答1: It has always been possible to use registries beyond ACR with an AKS cluster if access and credentials are provided. You can read more details from here 来源: https://stackoverflow.com/questions/63267596/can-one-use-docker-trusted-registry-with-azure-kubernetes-service

Does / Will AKS support spreading pods across update domains?

佐手、 提交于 2021-02-05 11:00:07
问题 According to this article (April 2018) AKS is capable of intelligently placing pods across fault domains when running in an availability set, but it does not consider update domains yet. Will update domains be used to place pods in AKS anytime soon? 回答1: It already does this automatically when you setup your cluster. Your nodes are placed into an availability set and in that availability set they are placed into separate fault domains and update domains. 来源: https://stackoverflow.com