Difference between revisions of "Default EKS installation"
Jump to navigation
Jump to search
(Created page with " kubectl get configmaps -A NAMESPACE NAME DATA AGE default kube-root-ca.crt 1 6h4m kub...") |
|||
(9 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]] === | |
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 == | ||
+ | * {{kubectl info}} | ||
+ | * {{EKS}} | ||
+ | |||
+ | [[Category:EKS]] |
Latest revision as of 11:37, 20 November 2023
Contents
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]
- Kubectl information commands:
cluster-info
|view
|pods
|nodes
|services
|version
|describe | logs
- EKS,
eksctl
, EKS add-ons, Amazon EKS cluster role, Terraform EKS, Kubernetes Autoscaler, Karpenter, Terraform module: EKS, Terraform resource: aws eks node group, Terraform data source: aws_eks_cluster, AWS Controllers for Kubernetes, AWS Load Balancer Controller, Amazon EKS Anywhere, Kustomize,aws-iam-authenticator
, ACK, tEKS, Amazon EKS authorization, Amazon EKS authentication, Nodegroup, EKS storage,aws-ebs-csi-driver, aws-efs-csi-driver, aws-load-balancer-controller, amazon-vpc-cni-k8s
, EKS security, EKS Best Practices Guides,hardeneks
, EKS versions,fargate-scheduler
,eks-connector
, Resilience in Amazon EKS, EKS control plane logging, Security groups for Pods in EKS
Advertising: