Skip to content

Instantly share code, notes, and snippets.

@Nilegfx
Last active July 3, 2020 22:11
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 Nilegfx/b22612a594a543a8a181c460b17495da to your computer and use it in GitHub Desktop.
Save Nilegfx/b22612a594a543a8a181c460b17495da to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: 'manual-test-namespaced'
namespace: 'nile2'
labels:
app: 'manual-test-namespaced'
spec:
replicas: 2
selector:
matchLabels:
app: 'manual-test-namespaced'
template:
metadata:
labels:
app: 'manual-test-namespaced'
version: '2'
spec:
containers:
- name: 'manual-test-namespaced'
image: 'docker.m3ntorship.net/ghiras:0003cc8'
imagePullPolicy: IfNotPresent
ports:
- name: web
containerPort: 3000
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment