Questions tagged [kubernetes-deployment]

260 questions
0
votes
2 answers

How can I maintain a set of unique number crunching containers in kubernetes?

I want to run a "set" of containers in kubernetes, each which only differs in the docker environment variables (each one searches it's own dataset, which is located on network storage, then cached into the container's ram). For example: container 1…
0
votes
1 answer

Update multiple pods based on labels

I have the following situation: I have multiple deployments running the same image and are configured identically except for the environmental variables. Now my question is, is there an easy way to update for example the image of all these…
Ron Nabuurs
  • 1,528
  • 11
  • 29
0
votes
1 answer

Unable to scale application - containercreating

I am using this deployment template (is that what its called?). Two pods are running but two are stuck at containercreating. If I scale to 2 replicas, 1 is running and 1 is stuck at containercreating. How to have all 4 pods running? This…
SamK
  • 53
  • 6
0
votes
1 answer

Set up unique purpose pods with Helm / Kubernetes

I need to have n pods doing basically the same thing but operating on different endpoints, based on an environment variable. For example, pod1 will process var1, pod2 will process var2 etc... Can I have unique purpose pods within a deployment:…
Arkon
  • 2,648
  • 6
  • 26
  • 46
0
votes
1 answer

Recreate a deployment without service outage

In the following scenario of creating a new deployment: kubectl apply -f deployment.yaml /Mugen$ kubectl get deploy NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE my-server 1 1 1 1 1h I'm…
Mugen
  • 8,301
  • 10
  • 62
  • 140
0
votes
1 answer

How to expose the scale of a deployment or statefulset to the pods in it?

My first thought was using the downward API, but that doesn't seem to expose the scale of a deployment / statefulset. I was hoping to be able to avoid adding it in as a separate environment variable manually, or having to rely on pods all…
0
votes
2 answers

kubernetes: Role of selector in service vs deployment

From the official example of Kubernetes documentation site on deploying a Wordpress application with mysql: The service definition of mysql: apiVersion: v1 kind: Service metadata: name: wordpress-mysql labels: app: wordpress spec: ports: …
pkaramol
  • 16,451
  • 43
  • 149
  • 324
0
votes
1 answer

Kubernetes Deployment Strategy with PersistentDisk Volumnet Mounts

We have a K8s deployment spec which uses a replica count of 1 and the pod contains a GCE PersistentDisk volume mounted with RWOnce. For context, GCE PD does not allow Multi-Write mounting. At the moment, we have a Recreate Deployment strategy since…
rtindru
  • 5,107
  • 9
  • 41
  • 59
0
votes
1 answer

Kubernetes getting sibling-pod IP/properties from the same deployment/replicaset

Need to set the ip and/or any metadata of the deployment to be available as env vars to each pod under the same deployment... ex: having a 3 replica deploment. need to set env var for other IP address for each of the two other pods. need to set the…
0
votes
2 answers

Google Container Engine Error: Does not have minimum availability

I'm trying to deploy a web service to Google's Kontainer Engine. I have created a cluster with cluster size: 4 AND total cores: 8. In my yaml configuration, I'm creating a deployment for three of my services and a Service to expose these services…
0
votes
2 answers

Random characters when describing kubernetes namespaces

I'm trying to connect my Kubernetes deployments together via DNS. I have a Java (Spring Boot) deployment and a javascript (node.js) deployment, both exposed via a default ClusterIP Service. I need websocket and REST communication between both…
-1
votes
1 answer

Any python client method available to get/set env variables of kubernetes deployment

Need to get/set the env variables of deployment by using python client methods. kubectl describe deploy command or client.read_namespaced_deployment() method doesn't return the env of container in the pods which belongs to deployment. Can able…
-1
votes
1 answer

Kubernetes - Does IP Address of Service Object change?

I want to make use of NetworkPolicy for Egress Traffic from one set of Pods to another set of Pods. So, I want to allow egress traffic from pods with label foo:bar only to pods with label foo:beer Currently all Pods with label are behind one Service…
-1
votes
2 answers

kubernetes k8 unable to pull latest image

Hi I am working in Kubernetes. Below is my k8 for deployment. apiVersion: apps/v1 kind: Deployment metadata: #Dictionary name: webapp spec: # Dictionary replicas: 1 strategy: type: RollingUpdate rollingUpdate: # maxUnavailable…
-1
votes
4 answers

Kubernetes components query

I want to know about kubernetes components I have been studying kubernetes for a while and I want to understand that. Is kubernetes a deployment run inside container? or it's just control plane process? or My question is, Is deployment runs…
1 2 3
17
18