82d417b9e6
Fresh start for the StarlingX automation framework. Change-Id: Ie265e0791024f45f71faad6315c2b91b022934d1
24 lines
443 B
YAML
24 lines
443 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: server-pod-dep
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
server: pod-to-pod
|
|
template:
|
|
metadata:
|
|
labels:
|
|
server: pod-to-pod
|
|
spec:
|
|
containers:
|
|
- image: registry.local:9001/node-hello
|
|
name: server-container
|
|
ports:
|
|
- containerPort: 8080
|
|
protocol: TCP
|
|
imagePullSecrets:
|
|
- name: local-secret
|
|
|