Skip to content

Commit

Permalink
add vcr
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenschneider committed Sep 17, 2024
1 parent 80233ab commit 310db11
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
25 changes: 25 additions & 0 deletions clusters/dqs.dd.soeren.cloud/vcr/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: vcr
resources:
- pv.yaml
- namespace.yaml
- ../../common/vcr
patches:
- target:
kind: "VirtualService"
name: "vcr"
patch: |-
- op: "replace"
path: "/spec/hosts"
value:
- "vcr.dqs.dd.soeren.cloud"
- target:
kind: "VirtualService"
name: "metube"
patch: |-
- op: "replace"
path: "/spec/hosts"
value:
- "metube.dqs.dd.soeren.cloud"
7 changes: 7 additions & 0 deletions clusters/dqs.dd.soeren.cloud/vcr/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
kind: Namespace
apiVersion: v1
metadata:
name: vcr
labels:
name: vcr
24 changes: 24 additions & 0 deletions clusters/dqs.dd.soeren.cloud/vcr/pv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
apiVersion: "v1"
kind: "PersistentVolume"
metadata:
name: "vcr"
spec:
accessModes:
- "ReadWriteOnce"
capacity:
storage: "10Gi"
storageClassName: "local-storage"
claimRef:
namespace: "vcr"
name: "vcr"
local:
path: "/mnt/k8s/vcr"
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: "kubernetes.io/hostname"
operator: "In"
values:
- "k8s-dqs.dd.soeren.cloud"

0 comments on commit 310db11

Please sign in to comment.