Created
October 24, 2019 02:56
-
-
Save ziozzang/6fbed3913f12fae26ed85104286be919 to your computer and use it in GitHub Desktop.
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
# kubectl create -f https://gist.githubusercontent.com/ziozzang/6fbed3913f12fae26ed85104286be919/raw/80a31373b4cf81a6103e8621119a0b90105e6211/k8s-test-pod.yml | |
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: test | |
spec: | |
replicas: 1 | |
selector: | |
name: test | |
template: | |
metadata: | |
labels: | |
name: test | |
spec: | |
containers: | |
- name: test | |
image: centos | |
command: ["sleep", "inf"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment