Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat <<EOF | kubectl create -f -
- apiVersion: extensions/v1beta1
- kind: Deployment
- metadata:
- name: nginxtest
- labels:
- app: nginxtest
- spec:
- replicas: 1
- template:
- metadata:
- labels:
- app: nginx-test
- spec:
- containers:
- - name: nginx
- image: 172.16.1.20/commerce/nginx:latest
- resources:
- requests:
- cpu: 100m
- memory: 100Mi
- ports:
- - containerPort: 80
- EOF
Add Comment
Please, Sign In to add comment