-
Notifications
You must be signed in to change notification settings - Fork 0
kubernetes
kubectl config get-contexts
kubectl config use-context my-context-name
- system-cluster-critical
- The API server is a component of the Kubernetes control plane that exposes the Kubernetes API. The API server is the front end for the Kubernetes control plane.
-
system-node-critical
-
kube-proxy maintains network rules on nodes. These network rules allow network communication to your Pods from network sessions inside or outside of your cluster.
-
https://kubernetes.io/docs/tasks/administer-cluster/coredns/: CoreDNS is a flexible, extensible DNS server that can serve as the Kubernetes cluster DNS.
-
SSH into nodes: https://github.com/luksa/kubectl-plugins/tree/master
kubectl get pods -n kube-system
NAME READY STATUS RESTARTS AGE
aws-node-8p858 1/1 Running 0 390d
aws-node-sr8pc 1/1 Running 0 390d
aws-node-vqd55 1/1 Running 1 427d
coredns-66cb55d4f4-c9tws 1/1 Running 0 390d
coredns-66cb55d4f4-p49gt 1/1 Running 0 390d
kube-proxy-7dgck 1/1 Running 0 427d
kube-proxy-b6vr8 1/1 Running 0 390d
kube-proxy-mm72f 1/1 Running 0 390d
selfLink was empty, can't make reference
The SelfLink field in every Kubernetes object contains a URL representing the given object but doesn't offer any new information. At the same time, its creation and maintenance impacts performance. https://www.weave.works/blog/what-you-should-know-about-kubernetes-1-20
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
kubectl api-versions
admissionregistration.k8s.io/v1
admissionregistration.k8s.io/v1beta1
apiextensions.k8s.io/v1
apiextensions.k8s.io/v1beta1
apiregistration.k8s.io/v1
apiregistration.k8s.io/v1beta1
apps/v1
authentication.k8s.io/v1
authentication.k8s.io/v1beta1
authorization.k8s.io/v1
authorization.k8s.io/v1beta1
autoscaling/v1
autoscaling/v2beta1
autoscaling/v2beta2
batch/v1
batch/v1beta1
certificates.k8s.io/v1
certificates.k8s.io/v1beta1
coordination.k8s.io/v1
coordination.k8s.io/v1beta1
crd.k8s.amazonaws.com/v1alpha1
discovery.k8s.io/v1
discovery.k8s.io/v1beta1
events.k8s.io/v1
events.k8s.io/v1beta1
extensions/v1beta1
flowcontrol.apiserver.k8s.io/v1beta1
networking.k8s.io/v1
networking.k8s.io/v1beta1
node.k8s.io/v1
node.k8s.io/v1beta1
policy/v1
policy/v1beta1
rbac.authorization.k8s.io/v1
rbac.authorization.k8s.io/v1beta1
scheduling.k8s.io/v1
scheduling.k8s.io/v1beta1
storage.k8s.io/v1
storage.k8s.io/v1beta1
v1
vpcresources.k8s.aws/v1alpha1
vpcresources.k8s.aws/v1beta1
Solution: Upgrade v1.21.14-eks-4f4795d to v1.24
kubectl logs lamatola-etl-57d4f65549-9qwtx --all-containers --namespace dev