34 lines
716 B
YAML
34 lines
716 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: hub-frontend
|
|
name: hub-frontend
|
|
namespace: acedatacloud-test
|
|
spec:
|
|
replicas: 1
|
|
revisionHistoryLimit: 5
|
|
selector:
|
|
matchLabels:
|
|
app: hub-frontend
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: hub-frontend
|
|
spec:
|
|
containers:
|
|
- image: ghcr.io/acedatacloud/hub-frontend:${TAG}
|
|
name: hub-frontend
|
|
ports:
|
|
- containerPort: 80
|
|
resources:
|
|
requests:
|
|
memory: '50Mi'
|
|
cpu: '20m'
|
|
limits:
|
|
memory: '100Mi'
|
|
cpu: '30m'
|
|
imagePullSecrets:
|
|
- name: docker-registry
|
|
restartPolicy: Always
|