Skip to content

Instantly share code, notes, and snippets.

@RbkGh
Created October 22, 2019 02:39
Show Gist options
  • Save RbkGh/13c6bde14bf966d7b5ac98a805a19223 to your computer and use it in GitHub Desktop.
Save RbkGh/13c6bde14bf966d7b5ac98a805a19223 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: deployment-name
spec:
replicas: 1
template:
metadata:
labels:
label-key : label-value
spec:
containers:
- name: deploment-container-name
image: inyee/spa-demo:v1
imagePullPolicy: Always
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment