Difference between revisions of "Default EKS installation"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
  
 +
=== [[kubectl get pods -A]] ===
 +
[[aws-node]]-4zqph                                  1/1    Running  0          4d23h
 +
aws-node-hsxn8                                  1/1    Running  0          4d23h
 +
aws-node-w59pg                                  1/1    Running  0          4d23h
 +
[[coredns]]-5c778788f4-2x4vq                        1/1    Running  0          45h
 +
coredns-5c778788f4-dlhx5                        1/1    Running  0          45h
 +
[[kube-proxy]]-m59nt                                1/1    Running  0          4d23h
 +
kube-proxy-vbx9q                                1/1    Running  0          4d23h
 +
kube-proxy-w9vms                                1/1    Running  0          4d23h
  
  
[[kubectl get]] configmaps [[-A]]
+
=== [[kubectl get]] configmaps [[-A]] ===
 
  NAMESPACE        NAME                                DATA  AGE
 
  NAMESPACE        NAME                                DATA  AGE
 
  default          kube-root-ca.crt                    1      6h4m
 
  default          kube-root-ca.crt                    1      6h4m
Line 15: Line 24:
 
  kube-system      kube-proxy-config                    1      6h4m
 
  kube-system      kube-proxy-config                    1      6h4m
 
  kube-system      kube-root-ca.crt                    1      6h4m
 
  kube-system      kube-root-ca.crt                    1      6h4m
 +
 +
=== [[kubectl config view]] ===
 +
<pre>
 +
apiVersion: v1
 +
clusters:
 +
- cluster:
 +
    certificate-authority-data: DATA+OMITTED
 +
    server: https://4544571sadfaf58B0A.gr7.us-east-2.eks.amazonaws.com
 +
  name: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
 +
contexts:
 +
- context:
 +
    cluster: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
 +
    user: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
 +
  name: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
 +
current-context: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
 +
kind: Config
 +
preferences: {}
 +
users:
 +
- name: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
 +
  user:
 +
    exec:
 +
      apiVersion: client.authentication.k8s.io/v1beta1
 +
      args:
 +
      - --region
 +
      - us-east-2
 +
      - eks
 +
      - get-token
 +
      - --cluster-name
 +
      - education-eks-fuYvBeqk
 +
      command: aws
 +
      env:
 +
      - name: AWS_PROFILE
 +
        value: yourProfile
 +
      interactiveMode: IfAvailable
 +
      provideClusterInfo: false
 +
</pre>
 +
 +
 +
=== [[kubectl]] cluster-info ===
 +
Kubernetes control plane is running at https://5E39D5104example0BB2E658.gr7.us-east-2.eks.amazonaws.com
 +
CoreDNS is running at https://7739D904example5C07D43CBB2E699.gr7.us-east-2.eks.amazonaws.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
 +
 +
To further debug and diagnose cluster problems, use '[[kubectl cluster-info dump]]'.
 +
 +
== Related ==
 +
* [[Terraform EKS module]]
  
 
== See also ==
 
== See also ==

Latest revision as of 11:37, 20 November 2023

kubectl get pods -A[edit]

aws-node-4zqph                                  1/1     Running   0          4d23h
aws-node-hsxn8                                  1/1     Running   0          4d23h
aws-node-w59pg                                  1/1     Running   0          4d23h
coredns-5c778788f4-2x4vq                        1/1     Running   0          45h
coredns-5c778788f4-dlhx5                        1/1     Running   0          45h
kube-proxy-m59nt                                1/1     Running   0          4d23h
kube-proxy-vbx9q                                1/1     Running   0          4d23h
kube-proxy-w9vms                                1/1     Running   0          4d23h


kubectl get configmaps -A[edit]

NAMESPACE         NAME                                 DATA   AGE
default           kube-root-ca.crt                     1      6h4m
kube-node-lease   kube-root-ca.crt                     1      6h4m
kube-public       kube-root-ca.crt                     1      6h4m
kube-system       aws-auth                             3      6h1m
kube-system       coredns                              1      6h4m
kube-system       cp-vpc-resource-controller           0      6h4m
kube-system       eks-certificates-controller          0      6h4m
kube-system       extension-apiserver-authentication   6      6h4m
kube-system       kube-proxy                           1      6h4m
kube-system       kube-proxy-config                    1      6h4m
kube-system       kube-root-ca.crt                     1      6h4m

kubectl config view[edit]

apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: DATA+OMITTED
    server: https://4544571sadfaf58B0A.gr7.us-east-2.eks.amazonaws.com
  name: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
contexts:
- context:
    cluster: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
    user: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
  name: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
current-context: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
kind: Config
preferences: {}
users:
- name: arn:aws:eks:us-east-2:012345678901:cluster/education-eks-fuYvBeqk
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - --region
      - us-east-2
      - eks
      - get-token
      - --cluster-name
      - education-eks-fuYvBeqk
      command: aws
      env:
      - name: AWS_PROFILE
        value: yourProfile
      interactiveMode: IfAvailable
      provideClusterInfo: false


kubectl cluster-info[edit]

Kubernetes control plane is running at https://5E39D5104example0BB2E658.gr7.us-east-2.eks.amazonaws.com
CoreDNS is running at https://7739D904example5C07D43CBB2E699.gr7.us-east-2.eks.amazonaws.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

Related[edit]

See also[edit]

Advertising: