Skip to content

Instantly share code, notes, and snippets.

@armand1m
Last active July 8, 2019 12:35
Show Gist options
  • Save armand1m/226f3d86bb956ee27447d36545a2c3ef to your computer and use it in GitHub Desktop.
Save armand1m/226f3d86bb956ee27447d36545a2c3ef to your computer and use it in GitHub Desktop.
Generated kubernetes manifest from "kubectl run my-webapp-deployment --image=my-webapp --dry-run -o yaml"
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
run: my-webapp-deployment
name: my-webapp-deployment
spec:
replicas: 1
selector:
matchLabels:
run: my-webapp-deployment
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
run: my-webapp-deployment
spec:
containers:
- image: my-webapp:stable
name: my-webapp-deployment
resources: {}
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment