22 lines
374 B
YAML
22 lines
374 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: appname
|
|
namespace: appname
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: appname
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: appname
|
|
spec:
|
|
containers:
|
|
- image: ghcr.io/gchq/appname:10.19.4
|
|
name: appname
|
|
ports:
|
|
- name: web
|
|
containerPort: 80
|