Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
58 votes
14 answers
79k views

It's a simple question, but I could not find a definite answer for it. Question Is it possible to create a namespace only if it doesn't exist. My objective is to create some service accounts without ...
Rad's user avatar
  • 5,172
50 votes
1 answer
45k views

I have couple of namespaces - assume NS1 and NS2. I have serviceaccounts created in those - sa1 in NS1 and sa2 in NS2. I have created roles and rolebindings for sa1 to do stuff within NS1 and sa2 ...
rahul's user avatar
  • 3,108
48 votes
8 answers
74k views

How do I force delete Namespaces stuck in Terminating? Steps to recreate: Apply this YAML apiVersion: v1 kind: Namespace metadata: name: delete-me spec: finalizers: - foregroundDeletion ...
Will Beason's user avatar
  • 3,573
29 votes
9 answers
147k views

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 ...
cheslijones's user avatar
  • 9,304
27 votes
2 answers
22k views

I know the purpose of other Kubernetes default namespaces such as: kube-system, default & kube-public, but there is no official document about the kube-node-lease. The only official explanation I'...
Ivan Aracki's user avatar
  • 5,511
15 votes
3 answers
16k views

Is there a maximum number of namespaces supported by a Kubernetes cluster? My team is designing a system to run user workloads via K8s and we are considering using one namespace per user to offer ...
Brannon's user avatar
  • 1,356
11 votes
5 answers
33k views

Is there a way to exclude certain namespaces in fluent-bit? I would like to exclude certain namespaces, so that fluent-bit doesn't forward all logs created in those namespaces to ELK. Is there a way ...
Oren's user avatar
  • 113
11 votes
2 answers
5k views

In my terraform config files I create a Kubernetes cluster on GKE and when created, set up a Kubernetes provider to access said cluster and perform various actions such as setting up namespaces. The ...
user1384377's user avatar
7 votes
1 answer
3k views

I have some burstable pods running in cluster, which I do not want to be killed in case of memory/cpu pressure. Is there any way to increase it's priority or something, so that we do not have to ...
Manish Kumar Sinha's user avatar
6 votes
1 answer
5k views

One of my namespace is in Terminating state. While there are many posts that explain how to forcefully delete such namespaces. The ultimate result is that everything in your namespace will be gone. ...
Piotr's user avatar
  • 415
4 votes
2 answers
845 views

I am using CrunchyData Postgres Operator to manage postgres databases on my Kubernetes cluster. This cluster will host multiple databases used by many projects. I have set up the operator and a ...
Mohammed Alhalwachi's user avatar
4 votes
1 answer
1k views

I have multiple environments represented by multiple namespaces in my kubernetes. All application has its service endpoints defined in each namespace. And we have three environments, dev, alpha, and ...
Ysak's user avatar
  • 2,775
3 votes
2 answers
14k views

I have a requirement to pass cluster, namespace and pod name to AppDynamics agent from my container deployed in Kubernetes cluster. I tried something as below, but that does not work. containers: ...
Sunil Chauraha's user avatar
3 votes
2 answers
3k views

This is the resource status: kind: Namespace api Version: v1 metadata: name: linkerd selfLink: /api/v1/namespaces/linkerd uid: e7337b2b-bddb-4344-a986-d450973bc8cf resourceVersion: '5540346' ...
Alex Efimov's user avatar
  • 3,753
3 votes
2 answers
3k views

What exactly is Kubernetes namespace and how is it different from linux namespaces (mnt,pid,net,ipc,uts,user,cgroup)?
karthik v's user avatar
  • 1,172

15 30 50 per page