kubernetes Questions

4

I am currently having trouble trying to pull my remote docker image hosted via AWS ECR. I am getting this error when running a deployment Step 1) run aws ecr get-login-password --region cn-nor...
Tectrix asked 17/6, 2020 at 3:17

4

Solved

I want to run two containers on a single pod. container1 is a test that tries to connect to a SQL Server Database that runs on container2. How can I make sure that the sql container (container2) wi...
Enamel asked 3/10, 2021 at 10:23

5

Solved

root@master2:/home/osboxes# kubectl get pods --all-namespaces -o wide NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE default hello-kubernetes-55857678b4-4xbgd 1/1 Running 1 18h 10.244.1.138 node ...
Disarticulate asked 3/7, 2018 at 12:40

3

Solved

Kubernetes dashboard is able to show "current running pods / pods capacity" per node. But when I try to get the same info with kubectl I have to run two commands: kubectl describe node | grep -E (...
Enscroll asked 2/10, 2019 at 12:47

4

Solved

I've created a secret from a file using a command like: kubectl create secret generic laravel-oauth \ --from-file=./.work-in-progress/oauth_private.key \ --from-file=./.work-in-progress/oauth_pu...
Binky asked 14/11, 2018 at 10:5

9

Solved

I am running an application with GKE. It works fine but I can not figure out how to get the external IP of the service in a machine readable format. So i am searching a gcloud or kubectl command th...
Sloven asked 25/12, 2017 at 14:48

2

Solved

When I launch a pod with the following limits/request: resources: limits: cpu: "3500m" memory: "8192Mi" ephemeral-storage: "5Gi" requests: cpu: "500m"...
Pluto asked 7/12, 2021 at 10:59

1

Is it possible to log individual shell commands executed after login to pod via kubectl exec? If auditing shell commands is possible, how to configure kubernetes auditing for that?
Satisfactory asked 4/3, 2020 at 14:16

4

I need to start kubernetes pods in a sequence like pod2 should start only when pod1 is up and running. we can do this in docker-compose.yml using depends_on
Madrepore asked 17/5, 2018 at 6:56

2

I am using Kubectl run command to execute pod on a specific node. kubectl --namespace=ns run pod1 --image image1 \ --overrides='{"spec":{"nodeSelector":{"appgroup":&q...
Skeen asked 30/10, 2022 at 7:24

1

I'd like to run InfluxDB2 in a docker container in Kubernetes, and I'd like to avoid having to manually setup a user. I do know from https://hub.docker.com/_/influxdb that it's possible to do this ...
Gorcock asked 5/5, 2022 at 11:1

4

I have Kubernetes Cluster with Ingress/Traefik controller Also, I installed the dashboard using the standard config from here: https://raw.githubusercontent.com/kubernetes/dashboard/master/src/dep...
Ecospecies asked 13/9, 2018 at 11:9

2

Solved

I don't want to setup another etcd cluster. How can I access the built-in etcd from kubernetes pod? I suppose first I need create a service account and use this account to launch the pod. Then ...
Circumpolar asked 8/3, 2016 at 10:16

3

Solved

I would like to try Kubernetes' hooks but I didn't find any example how I should do it. As far as I know, with this hooks I can run bash scripts in freshly created containers and prior to terminate...
Woodall asked 26/1, 2015 at 14:22

4

Solved

I'm trying to deploy an EKS self managed with Terraform. While I can deploy the cluster with addons, vpc, subnet and all other resources, it always fails at helm: Error: Kubernetes cluster un...
Krenek asked 4/2, 2022 at 15:20

4

Solved

I have multiple configuration files in two directories. For example, conf.d/parentconf1.conf con.d/node1/child1.conf conf.d/node2/child2.conf I need to mount these configuration files in the s...
Frightfully asked 22/4, 2019 at 6:34

1

Imagine you want to get kind/struct called KubeadmControlPlane from the kubernetes API server. This means you need to import the related struct into your code. A matching import statement for Kubea...
Kentigera asked 26/5, 2023 at 6:53

3

Solved

I have set up kubernetes cluster on ubuntu 18+. It's working fine. now i had added metric server but it's not working. # kubectl get apiservices v1beta1.metrics.k8s.io kube-system/metrics-server ...
Negotiant asked 29/1, 2020 at 14:56

4

I just start using kustomize. I have the following yaml files for kustomize: ls -l ./kustomize/base/ 816 Apr 18 21:25 deployment.yaml 110 Apr 18 21:31 kustomization.yaml 310 Apr 18 21:25 service.y...
Colourable asked 19/4, 2020 at 6:49

3

I have a GKE cluster I'm trying to switch the default node machine type on. I have already tried: Creating a new node pool with the machine type I want Deleting the default-pool. GKE will ...
Schaffhausen asked 21/3, 2020 at 4:2

4

Solved

I am running a kubernetes cluster on AWS-ec2 and I would like to have the pod (container) know during runtime which region it's running on, how can this be done?
Diego asked 3/6, 2018 at 13:59

11

I have developed a terraform script to create a k8 cluster on GKE. Post successful creation of cluster, I have set of yaml files to be applied on k8 cluster. How can I invoke the below command ...
Statampere asked 8/1, 2019 at 15:5

6

Solved

I have a pretty simple Kubernetes pod. I want a stateful set and want the following process: I want to have an initcontainer download and uncompress a tarball from s3 into a volume mounted to the...
Topcoat asked 25/2, 2019 at 22:39

4

Is there any way to make kubernetes distribute pods as much as possible? I have "Requests" on all deployments and global Requests as well as HPA. all nodes are the same. Just had a situation where...
Apo asked 15/12, 2016 at 8:47

8

I am trying to create a high availability cluster using the kubeadm tool. And I am trying to install the tools that specified in the pre-requistics of kubeadm installation. When I am running sudo a...
Palaeogene asked 10/12, 2019 at 10:23

© 2022 - 2024 — McMap. All rights reserved.