|
| 1 | +apiVersion: v1 |
| 2 | +kind: Pod |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + kubeadm.kubernetes.io/kube-apiserver.advertise-address.endpoint: 192.168.49.2:8443 |
| 6 | + kubernetes.io/config.hash: 6580cebb2d04c6c59385cf58e278b0a6 |
| 7 | + kubernetes.io/config.mirror: 6580cebb2d04c6c59385cf58e278b0a6 |
| 8 | + kubernetes.io/config.seen: '2022-07-04T06:44:17.243525710Z' |
| 9 | + kubernetes.io/config.source: file |
| 10 | + seccomp.security.alpha.kubernetes.io/pod: runtime/default |
| 11 | + creationTimestamp: '2022-07-04T06:44:17Z' |
| 12 | + labels: |
| 13 | + component: kube-apiserver |
| 14 | + tier: control-plane |
| 15 | + name: kube-apiserver-minikube |
| 16 | + namespace: kube-system |
| 17 | + ownerReferences: |
| 18 | + - apiVersion: v1 |
| 19 | + controller: true |
| 20 | + kind: Node |
| 21 | + name: minikube |
| 22 | + uid: 8bb39b2c-8cb0-4390-94e6-74d5e3fe7c16 |
| 23 | + resourceVersion: '257649' |
| 24 | + uid: 2ca73741-b550-4d0d-94f3-4b8838d55637 |
| 25 | +spec: |
| 26 | + containers: |
| 27 | + - command: |
| 28 | + - kube-apiserver |
| 29 | + - '--advertise-address=192.168.49.2' |
| 30 | + - '--allow-privileged=true' |
| 31 | + - '--authorization-mode=Node,RBAC' |
| 32 | + - '--client-ca-file=/var/lib/minikube/certs/ca.crt' |
| 33 | + - >- |
| 34 | + --enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota |
| 35 | + - '--enable-bootstrap-token-auth=true' |
| 36 | + - '--etcd-cafile=/var/lib/minikube/certs/etcd/ca.crt' |
| 37 | + - '--etcd-certfile=/var/lib/minikube/certs/apiserver-etcd-client.crt' |
| 38 | + - '--etcd-keyfile=/var/lib/minikube/certs/apiserver-etcd-client.key' |
| 39 | + - '--etcd-servers=https://127.0.0.1:2379' |
| 40 | + - >- |
| 41 | + --kubelet-client-certificate=/var/lib/minikube/certs/apiserver-kubelet-client.crt |
| 42 | + - >- |
| 43 | + --kubelet-client-key=/var/lib/minikube/certs/apiserver-kubelet-client.key |
| 44 | + - '--kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname' |
| 45 | + - >- |
| 46 | + --proxy-client-cert-file=/var/lib/minikube/certs/front-proxy-client.crt |
| 47 | + - '--proxy-client-key-file=/var/lib/minikube/certs/front-proxy-client.key' |
| 48 | + - '--requestheader-allowed-names=front-proxy-client' |
| 49 | + - >- |
| 50 | + --requestheader-client-ca-file=/var/lib/minikube/certs/front-proxy-ca.crt |
| 51 | + - '--requestheader-extra-headers-prefix=X-Remote-Extra-' |
| 52 | + - '--requestheader-group-headers=X-Remote-Group' |
| 53 | + - '--requestheader-username-headers=X-Remote-User' |
| 54 | + - '--secure-port=8443' |
| 55 | + - '--service-account-issuer=https://kubernetes.default.svc.cluster.local' |
| 56 | + - '--service-account-key-file=/var/lib/minikube/certs/sa.pub' |
| 57 | + - '--service-account-signing-key-file=/var/lib/minikube/certs/sa.key' |
| 58 | + - '--service-cluster-ip-range=10.96.0.0/12' |
| 59 | + - '--tls-cert-file=/var/lib/minikube/certs/apiserver.crt' |
| 60 | + - '--tls-private-key-file=/var/lib/minikube/certs/apiserver.key' |
| 61 | + image: k8s.gcr.io/kube-apiserver:v1.24.1 |
| 62 | + imagePullPolicy: IfNotPresent |
| 63 | + livenessProbe: |
| 64 | + failureThreshold: 8 |
| 65 | + httpGet: |
| 66 | + host: 192.168.49.2 |
| 67 | + path: /livez |
| 68 | + port: 8443 |
| 69 | + scheme: HTTPS |
| 70 | + initialDelaySeconds: 10 |
| 71 | + periodSeconds: 10 |
| 72 | + successThreshold: 1 |
| 73 | + timeoutSeconds: 15 |
| 74 | + name: kube-apiserver |
| 75 | + readinessProbe: |
| 76 | + failureThreshold: 3 |
| 77 | + httpGet: |
| 78 | + host: 192.168.49.2 |
| 79 | + path: /readyz |
| 80 | + port: 8443 |
| 81 | + scheme: HTTPS |
| 82 | + periodSeconds: 1 |
| 83 | + successThreshold: 1 |
| 84 | + timeoutSeconds: 15 |
| 85 | + resources: |
| 86 | + requests: |
| 87 | + cpu: 250m |
| 88 | + startupProbe: |
| 89 | + failureThreshold: 24 |
| 90 | + httpGet: |
| 91 | + host: 192.168.49.2 |
| 92 | + path: /livez |
| 93 | + port: 8443 |
| 94 | + scheme: HTTPS |
| 95 | + initialDelaySeconds: 10 |
| 96 | + periodSeconds: 10 |
| 97 | + successThreshold: 1 |
| 98 | + timeoutSeconds: 15 |
| 99 | + terminationMessagePath: /dev/termination-log |
| 100 | + terminationMessagePolicy: File |
| 101 | + volumeMounts: |
| 102 | + - mountPath: /etc/ssl/certs |
| 103 | + name: ca-certs |
| 104 | + readOnly: true |
| 105 | + - mountPath: /etc/ca-certificates |
| 106 | + name: etc-ca-certificates |
| 107 | + readOnly: true |
| 108 | + - mountPath: /var/lib/minikube/certs |
| 109 | + name: k8s-certs |
| 110 | + readOnly: true |
| 111 | + - mountPath: /usr/local/share/ca-certificates |
| 112 | + name: usr-local-share-ca-certificates |
| 113 | + readOnly: true |
| 114 | + - mountPath: /usr/share/ca-certificates |
| 115 | + name: usr-share-ca-certificates |
| 116 | + readOnly: true |
| 117 | + dnsPolicy: ClusterFirst |
| 118 | + enableServiceLinks: true |
| 119 | + hostNetwork: true |
| 120 | + nodeName: minikube |
| 121 | + preemptionPolicy: PreemptLowerPriority |
| 122 | + priority: 2000001000 |
| 123 | + priorityClassName: system-node-critical |
| 124 | + restartPolicy: Always |
| 125 | + schedulerName: default-scheduler |
| 126 | + securityContext: |
| 127 | + seccompProfile: |
| 128 | + type: RuntimeDefault |
| 129 | + terminationGracePeriodSeconds: 30 |
| 130 | + tolerations: |
| 131 | + - effect: NoExecute |
| 132 | + operator: Exists |
| 133 | + volumes: |
| 134 | + - hostPath: |
| 135 | + path: /etc/ssl/certs |
| 136 | + type: DirectoryOrCreate |
| 137 | + name: ca-certs |
| 138 | + - hostPath: |
| 139 | + path: /etc/ca-certificates |
| 140 | + type: DirectoryOrCreate |
| 141 | + name: etc-ca-certificates |
| 142 | + - hostPath: |
| 143 | + path: /var/lib/minikube/certs |
| 144 | + type: DirectoryOrCreate |
| 145 | + name: k8s-certs |
| 146 | + - hostPath: |
| 147 | + path: /usr/local/share/ca-certificates |
| 148 | + type: DirectoryOrCreate |
| 149 | + name: usr-local-share-ca-certificates |
| 150 | + - hostPath: |
| 151 | + path: /usr/share/ca-certificates |
| 152 | + type: DirectoryOrCreate |
| 153 | + name: usr-share-ca-certificates |
0 commit comments