Manual start
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
ef09aaedeb
commit
ae8acc29ee
3 changed files with 65 additions and 0 deletions
34
apps-kustomized/spoolman/deploy.yaml
Normal file
34
apps-kustomized/spoolman/deploy.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: spoolman
|
||||
name: spoolman
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: spoolman
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: spoolman
|
||||
spec:
|
||||
containers:
|
||||
- image: ghcr.io/donkie/spoolman:0.22
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: spoolman
|
||||
resources: {}
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 30
|
||||
status: {}
|
14
apps-kustomized/spoolman/svc.yaml
Normal file
14
apps-kustomized/spoolman/svc.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: spoolman
|
||||
name: k8s-spoolman
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/hostname: spoolman.martyn.berlin
|
||||
spec:
|
||||
ports:
|
||||
- port: 8000
|
||||
selector:
|
||||
app: spoolman
|
||||
type: loadbalancer
|
17
everything-app/spoolman.yaml
Normal file
17
everything-app/spoolman.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: spoolman
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: spoolman
|
||||
server: https://kubernetes.default.svc
|
||||
project: apps
|
||||
source:
|
||||
path: apps-kustomized/spoolman
|
||||
repoURL: https://git.martyn.berlin/martyn/infra4talos
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
Loading…
Add table
Reference in a new issue