Difference between revisions of "Default EKS installation"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
[[kubectl get pods -A]]
+
== [[kubectl get pods -A]] ==
 
  [[aws-node]]-4zqph                                  1/1    Running  0          4d23h
 
  [[aws-node]]-4zqph                                  1/1    Running  0          4d23h
 
  aws-node-hsxn8                                  1/1    Running  0          4d23h
 
  aws-node-hsxn8                                  1/1    Running  0          4d23h
Line 11: Line 11:
  
  
[[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 24: 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>
 +
  
 
== See also ==
 
== See also ==

Revision as of 07:20, 20 July 2022

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

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

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


See also

Advertising: