45 lines
1001 B
YAML
45 lines
1001 B
YAML
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: hive
|
||
|
|
namespace: lasuite
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: hive
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: hive
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: hive
|
||
|
|
image: ghcr.io/sunbeam-studio/hive:latest
|
||
|
|
volumeMounts:
|
||
|
|
- name: config
|
||
|
|
mountPath: /etc/hive
|
||
|
|
readOnly: true
|
||
|
|
- name: secrets
|
||
|
|
mountPath: /run/secrets
|
||
|
|
readOnly: true
|
||
|
|
resources:
|
||
|
|
limits:
|
||
|
|
memory: 64Mi
|
||
|
|
requests:
|
||
|
|
memory: 32Mi
|
||
|
|
cpu: 25m
|
||
|
|
volumes:
|
||
|
|
- name: config
|
||
|
|
configMap:
|
||
|
|
name: hive-config
|
||
|
|
- name: secrets
|
||
|
|
projected:
|
||
|
|
sources:
|
||
|
|
- secret:
|
||
|
|
name: hive-oidc
|
||
|
|
- secret:
|
||
|
|
name: seaweedfs-s3-credentials
|
||
|
|
- secret:
|
||
|
|
name: hive-db-url
|