-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathroot-app.yaml
More file actions
108 lines (108 loc) · 3.59 KB
/
root-app.yaml
File metadata and controls
108 lines (108 loc) · 3.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root-app
namespace: openshift-gitops
labels:
app.kubernetes.io/managed-by: llm-d-lab
spec:
destination:
name: ''
namespace: 'openshift-gitops'
server: 'https://kubernetes.default.svc'
source:
path: envs/lab
repoURL: https://github.com/aleskandro/llm-d-lab.git
targetRevision: master
kustomize:
patches:
# Patch to change repoURL for all Applications with the llm-d-lab label
- target:
kind: Application
group: argoproj.io
version: v1alpha1
labelSelector: app.kubernetes.io/managed-by=llm-d-lab
patch: |-
- op: replace
path: /spec/source/repoURL
value: https://github.com/aleskandro/llm-d-lab.git
- target:
kind: Application
group: argoproj.io
version: v1alpha1
name: infra-ocp
patch: |-
- op: replace
path: /spec/source/helm/valuesObject
value:
# Retrieve the cluster-api-cluster value with:
# oc -n openshift-machine-api get machinesets -o jsonpath='{.items[0].metadata.labels.machine\.openshift\.io/cluster-api-cluster}{"\n"}'
clusterApiCluster: SET_ME
region: us-east-1
zones: ["a", "b", "c"]
amis:
arm64: ami-08e3890b24e081680
amd64: ami-01095d1967818437c
- target:
kind: Application
group: argoproj.io
version: v1alpha1
name: gateway-api
patch: |-
- op: replace
path: /spec/source/kustomize
value:
patches:
- target:
group: gateway.networking.k8s.io
version: v1
kind: Gateway
name: openshift-ai-inference
namespace: openshift-ingress
patch: |-
- op: add
path: /spec/listeners/0/hostname
# oc get ingresses.config/cluster -o jsonpath={.spec.domain}
value: "inference-gateway.apps.SET_ME"
- target:
group: gateway.networking.k8s.io
version: v1
kind: Gateway
name: infra-gateway
namespace: openshift-ingress
patch: |-
- op: add
path: /spec/listeners/0/hostname
# oc get ingresses.config/cluster -o jsonpath={.spec.domain}
value: "infra-gateway.apps.SET_ME"
- target:
kind: Application
group: argoproj.io
version: v1alpha1
name: loki-stack
patch: |-
- op: replace
path: /spec/source/kustomize
value:
patches:
- target:
group: loki.grafana.com
version: v1
kind: LokiStack
name: netobserv-loki
patch: |-
- op: replace
path: /spec/storageClassName
value: gp3-csi
sources: []
project: default
syncPolicy:
automated:
selfHeal: true
prune: true
retry:
limit: 5
backoff:
duration: 5s
maxDuration: 10m0s
factor: 2