New answers tagged kubernetes
0
votes
Microk8s Cluster Node not ready on Ubuntu with "cni plugin not initialized: failed to load cni config"
If you are using AWS EKS, you need to install CNI Plugin.
Also, could you please share the output of sudo microk8s inspect
1
vote
helm trouble creating pod using bitnami/mongodb chart
Yes, mongodb 5 on x86 requires a cpu with avx, check your cpu flags of the kubernetes node with lscpu | grep avx
1
vote
Why is the containerd still pulling from the network even though the server contains an image
There 2 are places that defines pause image tag, if you run kubernetes using containerd.
On containerd configuration file.
You can check running configuration by running
containerd config dump | ...
0
votes
Accepted
How do Argo CD track the resources it deploys?
Argo CD by default uses the label app.kubernetes.io/instance to track resources it creates, but it can also be configured to use a custom label and/or annotation.
See https://argo-cd.readthedocs.io/en/...
0
votes
validate service connection: validate CRI v1 image API for endpoint
Finally I found I should add configuration /etc/crictl.yaml:
runtime-endpoint: unix:///var/run/containerd/containerd.sock
image-endpoint: unix:///var/run/containerd/containerd.sock
timeout: 10
#debug: ...
0
votes
502 Bad Gateway when HTTPS listener is configured on Nexus Private Registry
This is most likely due to the ingress not being configured to passthrough SSL.
Add this annotation to the ingress:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
Additionally, make sure ...
1
vote
kubernetes access nodeport fails, master cannot reach workers
Found the cause, maybe someone will find it useful in the future.
This happened because flannel is not correctly set up for an on premise kubernetes environment.
I installed the default kube-flannel....
0
votes
is it possible to copy image from one server to another server
You can pull image from official or mirror then save it like this:
docker save registry.k8s.io/pause:3.6>pause.tar
copy the pause.tar to other sever and import it like this:
ctr -n=k8s.io image ...
0
votes
why the crictl command did not list the images
Finally I found the crictl default namespaces in k8s.io, when import images, we should specify the namespaces like this:
ctr -n=k8s.io image import /root/pause.tar
0
votes
Kubenetes new Pods/Deployments/Resources stuck in pending state forever without error
You will probably find the error in either
sudo journalctl -u kubelet -f
or
sudo journalctl -u containerd -f
My guess would be that you have SystemdCgroup set to false in /etc/containerd/config.toml
...
0
votes
Can we do zero-downtime kubernetes deployment with a single pod?
I would suggest you go with ReadinessProbe. So, with this, your application can say that "I am ready to receive the traffic" then the current running pod is ready to be terminated.
Note that ...
Top 50 recent answers are included
Related Tags
kubernetes × 904docker × 154
helm × 91
amazon-web-services × 58
kubectl × 49
containers × 43
kubernetes-helm × 40
jenkins × 39
prometheus × 39
ingress × 38
deployment × 31
google-cloud-platform × 29
azure × 26
networking × 25
eks × 25
azure-kubernetes-service × 24
nginx × 22
minikube × 21
gitlab × 20
istio × 20
cicd × 19
dns × 18
load-balance × 18
terraform × 17
rancher × 17