Skip to content

Instantly share code, notes, and snippets.

@michalpenka
Last active March 18, 2020 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michalpenka/5adb78988aead4e462d8d5dc31a67d54 to your computer and use it in GitHub Desktop.
Save michalpenka/5adb78988aead4e462d8d5dc31a67d54 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: app-helloworld
namespace: helloworld
spec:
replicas: 2
selector:
matchLabels:
app: app-helloworld
template:
metadata:
labels:
app: app-helloworld
spec:
containers:
- name: app-helloworld
image: michalpenka/helloworld:20
imagePullPolicy: Always
ports:
- containerPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment