Difference between revisions of "/etc/kubernetes/manifests/kube-apiserver.yaml"

From wikieduonline
Jump to navigation Jump to search
 
Line 25: Line 25:
  
  
 +
== See also ==
 +
* {{K8s API}}
  
{{K8s API}}
+
[[Category:K8s]]

Latest revision as of 10:43, 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
...


See also[edit]

Advertising: