26 lines
629 B
YAML
26 lines
629 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: luka-app
|
||
|
name: luka-app
|
||
|
namespace: jsikubernetes
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app.kubernetes.io/name: luka-app
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: luka-app
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: luka-app
|
||
|
image: lukaboljevic/testapp:jsi
|
||
|
imagePullPolicy: Always
|
||
|
ports:
|
||
|
- containerPort: 5000
|
||
|
imagePullSecrets:
|
||
|
- name: luka-test-app-creds
|