azure-kubernetes

write access error for mounted volume on kubernetes

允我心安 提交于 2020-05-15 21:31:25
问题 When we were deploying active-mq in azure kubernetes service(aks), where active-mq data folder mounted on azure managed disk as a persistent volume claim. Below is the yaml used for deployment. ActiveMQ Image used : rmohr/activemq Kubernetes Version: v1.15.7 apiVersion: extensions/v1beta1 kind: Deployment metadata: name: activemqcontainer spec: replicas: 1 selector: matchLabels: app: activemqcontainer template: metadata: labels: app: activemqcontainer spec: securityContext: runAsUser: 1000

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

Kubernetes Pods stuck with in 'Terminating' state

为君一笑 提交于 2020-01-16 08:12:25
问题 Kubernetes Pods are stuck with a STATUS of Terminating after the Deployment (and Service) related to the Pods were deleted. Currently they have been in this state for around 3 hours. The Deployment and Service were created from files, and then sometime later deleted by referencing the same files. The files were not changed in any way during this time. kubectl apply -f mydeployment.yaml -f myservice.yaml ... kubectl delete -f mydeployment.yaml -f myservice.yaml Attempting to manually delete

Kubernetes Pods stuck with in 'Terminating' state

扶醉桌前 提交于 2020-01-16 08:10:27
问题 Kubernetes Pods are stuck with a STATUS of Terminating after the Deployment (and Service) related to the Pods were deleted. Currently they have been in this state for around 3 hours. The Deployment and Service were created from files, and then sometime later deleted by referencing the same files. The files were not changed in any way during this time. kubectl apply -f mydeployment.yaml -f myservice.yaml ... kubectl delete -f mydeployment.yaml -f myservice.yaml Attempting to manually delete

istio new installation causing readinees probe failed

一曲冷凌霜 提交于 2020-01-14 06:46:08
问题 I am installing istio version 1.1.5 on Azure kubernetes services. i have followed the installation procedure mentioned in this istio site isito installation I have installed istio-demo installation pack. after successful installation,few resources are not starting... NAME READY STATUS RESTARTS AGE grafana-6b849f66c8-hfn24 1/1 Running 0 10h istio-citadel-6f958bff99-r4jdj 1/1 Running 0 10h istio-galley-64867c7ddc-jggxx 1/1 Running 0 10h istio-grafana-post-install-1.1.5-8mstl 0/1 Completed 0 10h

Ingress rule not redirecting to deployment

限于喜欢 提交于 2019-12-24 21:26:06
问题 Ingress apiVersion: extensions/v1beta1 kind: Ingress metadata: name: assortment-ingress annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/rewrite-target: / spec: tls: - hosts: - myapp.centralus.cloudapp.azure.com secretName: aks-ingress-tls rules: - host: myapp.centralus.cloudapp.azure.com http: paths: - path: /my-service backend: serviceName: my-backend servicePort: 80 deployment & service apiVersion: apps/v1beta1 kind: Deployment metadata: name: my-deployment spec:

How to use TcpDiscoveryKubernetesIpFinder in Apache Ignite .Net

泄露秘密 提交于 2019-12-24 06:12:43
问题 I am trying to deploy an Apache Ignite cluster in Kubernetes. The documentation suggests using TcpDiscoveryKubernetesIpFinder to facilitate the Ignite node discovery in a Kubernetes environment. However, I could not find this class in Apache Ignite for .Net. Is it migrated to .Net at all? If not, how can I use in my Net application? I am not very much familiar with Java. If it is not possible, is there an alternative approach to implement node discovery in the Kubernetes environment without

How to use TcpDiscoveryKubernetesIpFinder in Apache Ignite .Net

耗尽温柔 提交于 2019-12-24 06:12:12
问题 I am trying to deploy an Apache Ignite cluster in Kubernetes. The documentation suggests using TcpDiscoveryKubernetesIpFinder to facilitate the Ignite node discovery in a Kubernetes environment. However, I could not find this class in Apache Ignite for .Net. Is it migrated to .Net at all? If not, how can I use in my Net application? I am not very much familiar with Java. If it is not possible, is there an alternative approach to implement node discovery in the Kubernetes environment without

Default number of availability zones for an AKS Kubernetes cluster?

送分小仙女□ 提交于 2019-12-23 04:19:06
问题 I need to know how does AKS create its Kubernetes clusters from HA perspective. Specifically, I need to know what is the default number of availability zones when an Azure AKS clusters is created. 回答1: Currently AKS does not support Availability Zones. 来源: https://stackoverflow.com/questions/49747221/default-number-of-availability-zones-for-an-aks-kubernetes-cluster

Azure DevOp Pipelines authentication to AKS with Azure AD RBAC configured?

↘锁芯ラ 提交于 2019-12-20 22:06:19
问题 We have configured our Azure Kubernetes Clusters to use Azure Active Directory RBAC. This means when using kubectl we need to first authenticate as an AD user (usually done through manually completing device code authentication via the web browser). We have configured this almost exactly as per the MSDN article Integrate Azure Active Directory with Azure Kubernetes Service. The issue is that this authentication is now also required for Kubernetes build/release tasks in Azure DevOp Pipelines,