kubernetes-helm

Updated configMap.yaml but it's not being applied to Kubernetes pods

吃可爱长大的小学妹 提交于 2020-12-13 16:05:53
问题 I'm editing configMap.yaml in my Helm chart, but when I log in to one of my pods to check if it's being applied, it doesn't reflect my changes. I'm fairly new to Helm charts so any help is appreciated. 回答1: For updating your ConfigMap you can also use kubectl patch command if you find it more fitting for you. Documentation regarding it can be found here. For applying the changes there is a very useful tool called Reloader. Reloader can watch changes in ConfigMap and Secret and do rolling

Error: UPGRADE FAILED: failed to replace object: Service “api” is invalid: spec.clusterIP: Invalid value: “”: field is immutable

左心房为你撑大大i 提交于 2020-12-12 11:35:06
问题 When doing helm upgrade ... --force I'm getting this below error Error: UPGRADE FAILED: failed to replace object: Service "api" is invalid: spec.clusterIP: Invalid value: "": field is immutable And This is how my service file looks like: (Not passing clusterIP anywhere ) apiVersion: v1 kind: Service metadata: name: {{ .Chart.Name }} namespace: {{ .Release.Namespace }} annotations: service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https" service.beta.kubernetes.io/aws-load-balancer

google-chrome Failed to move to new namespace

。_饼干妹妹 提交于 2020-12-02 06:10:06
问题 Im trying to run google-chrome --headless inside a docker container as a non-root user to execute some tests. Everytime Im trying to start it, it throws following error: google-chrome --headless Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted Failed to generate minidump.Illegal instruction Its a docker container running in k8s cluster. Operating system is Ubuntu 16.04. Namespaces are enabled, user is non-root

Blue Green Deployment with Helm Charts

大憨熊 提交于 2020-12-01 10:21:03
问题 We Could deploy applications using 'Helm Charts' with helm install --name the-release helm/the-service-helm --namespace myns And we cold 'Rolling Upgrade' the deployment using, helm upgrade --recreate-pods the-release helm/the-service-helm --namespace myns Is there a way to use 'Helm Charts' to achieve 'Blue/Green' Deployments? 回答1: Let's start from definitions Since there are many deployment strategies, let's start from the definition. As per Martin Flowers' definition of Blue-Green

Blue Green Deployment with Helm Charts

為{幸葍}努か 提交于 2020-12-01 10:19:53
问题 We Could deploy applications using 'Helm Charts' with helm install --name the-release helm/the-service-helm --namespace myns And we cold 'Rolling Upgrade' the deployment using, helm upgrade --recreate-pods the-release helm/the-service-helm --namespace myns Is there a way to use 'Helm Charts' to achieve 'Blue/Green' Deployments? 回答1: Let's start from definitions Since there are many deployment strategies, let's start from the definition. As per Martin Flowers' definition of Blue-Green

List pods that are servicing a service

人盡茶涼 提交于 2020-11-29 10:21:47
问题 I am trying to get the list of pods that are servicing a particular service There are 3 pods associated with my service. I tried to execute the below command oc describe svc my-svc-1 I am expecting to see the pods associated with this service. but that does not show up. What command gets me just the list of pods associated with the service. 回答1: A service chooses the pods using the selector. Look at the selector for the service, and get the pods using that selector. For kubectl, the command

List pods that are servicing a service

久未见 提交于 2020-11-29 10:21:32
问题 I am trying to get the list of pods that are servicing a particular service There are 3 pods associated with my service. I tried to execute the below command oc describe svc my-svc-1 I am expecting to see the pods associated with this service. but that does not show up. What command gets me just the list of pods associated with the service. 回答1: A service chooses the pods using the selector. Look at the selector for the service, and get the pods using that selector. For kubectl, the command