Standardize manifest filenames to <app>-<kind>.yaml
This commit is contained in:
57
pelican/pelican-deployment.yaml
Normal file
57
pelican/pelican-deployment.yaml
Normal file
@@ -0,0 +1,57 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: pelican
|
||||
namespace: pelican
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: pelican
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: pelican
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
terminationGracePeriodSeconds: 30
|
||||
securityContext:
|
||||
fsGroup: 82
|
||||
containers:
|
||||
- name: pelican
|
||||
image: ghcr.io/pelican-dev/panel:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: pelican-config
|
||||
env:
|
||||
- name: DB_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pelican-secrets
|
||||
key: DB_USERNAME
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pelican-secrets
|
||||
key: DB_PASSWORD
|
||||
- name: DB_DATABASE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pelican-secrets
|
||||
key: DB_DATABASE
|
||||
volumeMounts:
|
||||
- name: pelican-data
|
||||
mountPath: /pelican-data
|
||||
volumes:
|
||||
- name: pelican-data
|
||||
persistentVolumeClaim:
|
||||
claimName: pelican-data-pvc
|
||||
Reference in New Issue
Block a user