Difference between revisions of "/etc/kubernetes/manifests/kube-apiserver.yaml"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[/etc/kubernetes/manifests/]]kube-apiserver.yaml | [[/etc/kubernetes/manifests/]]kube-apiserver.yaml | ||
− | + | <pre> | |
+ | apiVersion: v1 | ||
+ | kind: Pod | ||
+ | metadata: | ||
+ | creationTimestamp: null | ||
+ | labels: | ||
+ | component: kube-apiserver | ||
+ | tier: control-plane | ||
+ | name: kube-apiserver | ||
+ | namespace: kube-system | ||
+ | spec: | ||
+ | containers: | ||
+ | - command: | ||
+ | - kube-apiserver | ||
+ | - --advertise-address=192.168.100.21 | ||
+ | ... | ||
+ | - --service-account-key-file=/etc/kubernetes/pki/sa.pub | ||
+ | - --service-cluster-ip-range=11.96.0.0/12 # change | ||
+ | - --tls-cert-file=/etc/kubernetes/pki/apiserver.crt | ||
+ | - --tls-private-key-file=/etc/kubernetes/pki/apiserver.key | ||
+ | ... | ||
+ | </pre> | ||
{{K8s API}} | {{K8s API}} |
Revision as of 10:41, 3 December 2022
/etc/kubernetes/manifests/kube-apiserver.yaml
apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: component: kube-apiserver tier: control-plane name: kube-apiserver namespace: kube-system spec: containers: - command: - kube-apiserver - --advertise-address=192.168.100.21 ... - --service-account-key-file=/etc/kubernetes/pki/sa.pub - --service-cluster-ip-range=11.96.0.0/12 # change - --tls-cert-file=/etc/kubernetes/pki/apiserver.crt - --tls-private-key-file=/etc/kubernetes/pki/apiserver.key ...
Kubernetes API, Kubernetes API server, EKS API, apiVersion:, kubectl api-resources, kubectl api-versions, kind:
, Kubernetes API endpoint, 6443, 10250 (kubelet) kube-apiserver
, /etc/kubernetes/manifests/kube-apiserver.yaml, valueFrom, /var/log/kube-apiserver.log, /api/v1/, k8s.io
Advertising: