jsi-test-project/k8s/test-deployment.yaml

26 lines
629 B
YAML
Raw Normal View History

2022-11-09 15:29:45 +00:00
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