test/resources/cloud_platform/sanity/pods/consumer_app.yaml
croy 82d417b9e6 New StarlingX Automation Framework
Fresh start for the StarlingX automation framework.

Change-Id: Ie265e0791024f45f71faad6315c2b91b022934d1
2024-11-29 16:01:57 -05:00

47 lines
791 B
YAML

apiVersion: v1
kind: Namespace
metadata:
name: resource-consumer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: resource-consumer
spec:
replicas: 2
selector:
matchLabels:
app: resource-consumer
template:
metadata:
labels:
app: resource-consumer
spec:
containers:
- name: resource-consumer
image: registry.local:9001/resource-consumer
ports:
- containerPort: 80
resources:
requests:
cpu: 1000m
memory: 2048Mi
imagePullSecrets:
- name: local-secret
---
apiVersion: v1
kind: Service
metadata:
name: resource-consumer
spec:
selector:
app: resource-consumer
ports:
- protocol: TCP
port: 80
targetPort: 9376
type: LoadBalancer