Created
May 15, 2020 01:34
-
-
Save kevinblanco/fecf4d460af6a824fb27a81dd794c581 to your computer and use it in GitHub Desktop.
KIND kubernetes YAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: kind-cluster | |
spec: | |
containers: | |
- image: jieyu/kind-cluster-buster:v0.1.0 | |
imagePullPolicy: Always | |
name: kind-cluster | |
stdin: true | |
tty: true | |
args: | |
- /bin/bash | |
env: | |
- name: API_SERVER_ADDRESS | |
valueFrom: | |
fieldRef: | |
fieldPath: status.podIP | |
volumeMounts: | |
- mountPath: /var/lib/docker | |
name: varlibdocker | |
- mountPath: /lib/modules | |
name: libmodules | |
readOnly: true | |
securityContext: | |
privileged: true | |
ports: | |
- containerPort: 30001 | |
name: api-server-port | |
protocol: TCP | |
readinessProbe: | |
failureThreshold: 15 | |
httpGet: | |
path: /healthz | |
port: api-server-port | |
scheme: HTTPS | |
initialDelaySeconds: 120 | |
periodSeconds: 20 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
volumes: | |
- name: varlibdocker | |
emptyDir: {} | |
- name: libmodules | |
hostPath: | |
path: /lib/modules | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment