Compare commits
	
		
			1 commit
		
	
	
		
			66612d37f0
			...
			4b4d30120e
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 4b4d30120e | 
					 9 changed files with 2 additions and 126 deletions
				
			
		|  | @ -66,7 +66,7 @@ spec: | |||
|       dnsPolicy: ClusterFirst | ||||
|       nodeSelector: | ||||
|         intel.feature.node.kubernetes.io/gpu: "true" | ||||
|         kubernetes.io/hostname: talos-llu-kx3 | ||||
|         kubernetes.io/hostname: talos-e48-wv7 | ||||
|       terminationGracePeriodSeconds: 30 | ||||
|       volumes: | ||||
|       - name: jellyfin-config | ||||
|  |  | |||
|  | @ -71,16 +71,6 @@ spec: | |||
|       dnsPolicy: ClusterFirst | ||||
|       restartPolicy: Always | ||||
|       schedulerName: default-scheduler | ||||
|       affinity: | ||||
|         nodeAffinity: | ||||
|           preferredDuringSchedulingIgnoredDuringExecution: | ||||
|           - weight: 1 | ||||
|             preference: | ||||
|               matchExpressions: | ||||
|               - key: kubernetes.io/hostname | ||||
|                 operator: In | ||||
|                 values: | ||||
|                 - talos-llu-kx3 | ||||
|       terminationGracePeriodSeconds: 30 | ||||
|       volumes: | ||||
|       - name: config | ||||
|  |  | |||
|  | @ -1,49 +0,0 @@ | |||
| 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 | ||||
|         env: | ||||
|         - name: SPOOLMAN_DB_TYPE | ||||
|           value: postgres | ||||
|         - name: SPOOLMAN_DB_HOST | ||||
|           value: postgres-spoolman | ||||
|         - name: SPOOLMAN_DB_USERNAME | ||||
|           valueFrom: | ||||
|             secretKeyRef: | ||||
|               name: spoolman.postgres-spoolman.credentials.postgresql.acid.zalan.do | ||||
|               key: username | ||||
|         - name: SPOOLMAN_DB_PASSWORD | ||||
|           valueFrom: | ||||
|             secretKeyRef: | ||||
|               name: spoolman.postgres-spoolman.credentials.postgresql.acid.zalan.do | ||||
|               key: password | ||||
|         imagePullPolicy: IfNotPresent | ||||
|         name: spoolman | ||||
|         resources: {} | ||||
|         terminationMessagePath: /dev/termination-log | ||||
|         terminationMessagePolicy: File | ||||
|       dnsPolicy: ClusterFirst | ||||
|       restartPolicy: Always | ||||
|       schedulerName: default-scheduler | ||||
|       securityContext: {} | ||||
|       terminationGracePeriodSeconds: 30 | ||||
| status: {} | ||||
|  | @ -1,22 +0,0 @@ | |||
| apiVersion: "acid.zalan.do/v1" | ||||
| kind: postgresql | ||||
| metadata: | ||||
|   name: postgres-spoolman | ||||
| spec: | ||||
|   teamId: spoolman  | ||||
|   volume: | ||||
|     size: 8Gi | ||||
|     storageClass: longhorn-fast | ||||
|   numberOfInstances: 1 | ||||
|   users: | ||||
|     spoolman: | ||||
|     - superuser | ||||
|     - createdb | ||||
|   databases: | ||||
|     spoolman: spoolman  # dbname: owner | ||||
|   postgresql: | ||||
|     version: "15" | ||||
|   resources: | ||||
|     requests: | ||||
|       cpu: 10m | ||||
|       memory: 1Mi | ||||
|  | @ -1,15 +0,0 @@ | |||
| apiVersion: v1 | ||||
| kind: Service | ||||
| metadata: | ||||
|   labels: | ||||
|     app: spoolman | ||||
|   name: k8s-spoolman | ||||
|   annotations: | ||||
|     external-dns.alpha.kubernetes.io/hostname: spoolman.martyn.berlin | ||||
| spec: | ||||
|   ports: | ||||
|   - port: 80 | ||||
|     targetPort: 8000 | ||||
|   selector: | ||||
|     app: spoolman | ||||
|   type: LoadBalancer | ||||
|  | @ -29,7 +29,7 @@ spec: | |||
|           value: "true" | ||||
|         - name: ffmpegVersion | ||||
|           value: "6" | ||||
|         image: ghcr.io/haveagitgat/tdarr:2.36.01 | ||||
|         image: ghcr.io/haveagitgat/tdarr:2.35.02 | ||||
|         imagePullPolicy: Always | ||||
|         name: tdarr | ||||
|         ports: | ||||
|  |  | |||
|  | @ -16,7 +16,6 @@ spec: | |||
|     - https://k8s-at-home.com/charts/ | ||||
|     - https://charts.bitnami.com/bitnami | ||||
|     - https://charts.gabe565.com | ||||
|     - https://ideaplexus.gitlab.io/charts | ||||
|   destinations: | ||||
|     - name: '*' | ||||
|       namespace: '*' | ||||
|  |  | |||
|  | @ -24,16 +24,6 @@ spec: | |||
|           users: | ||||
|           - username: martyn | ||||
|             password: "564628" | ||||
|         affinity: | ||||
|           nodeAffinity: | ||||
|             preferredDuringSchedulingIgnoredDuringExecution: | ||||
|             - weight: 1 | ||||
|               preference: | ||||
|                 matchExpressions: | ||||
|                 - key: kubernetes.io/hostname | ||||
|                   operator: In | ||||
|                   values: | ||||
|                   - talos-llu-kx3 | ||||
|         persistence: | ||||
|           extraPVCShares: | ||||
|           - name: oldspace | ||||
|  |  | |||
|  | @ -1,17 +0,0 @@ | |||
| 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