Skip to content

Commit e651583

Browse files
kuberay/spark operator (#11)
1 parent 4af543e commit e651583

File tree

5 files changed

+81
-2
lines changed

5 files changed

+81
-2
lines changed

.devcontainer/vm/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
},
2929
"runArgs": [
30-
"--network=host",
30+
"--network=host", // Allows accessing k3d from within container using docker outside of docker
3131
],
3232
"features": {
3333
"ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {

examples/k3s/README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,17 @@ terraform apply -var kubeconfig=$KUBECONFIG
7575

7676
### 3. Verify the installation
7777

78-
Once terraform has finished, connect to the central dashboard and login as the default user.
78+
Watch k9s pods until all of them are in a ready state.
79+
80+
You can also check argocd with:
81+
82+
```
83+
kubectl port-forward --namespace "argocd" svc/argo-cd-argocd-server 8081:80
84+
```
85+
86+
then go the localhost:8081 and enter username 'admin', password (decoded `argocd/argocd-initial-admin-secret`)
87+
88+
Once all is finished you can port forward into the ingress gateway:
7989

8090
```sh
8191
kubectl port-forward --namespace "istio-system" svc/istio-ingressgateway 8080:http2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{{ if .Values.kuberay.enabled }}
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: 300-kuberay
6+
annotations:
7+
argocd.argoproj.io/sync-wave: "300"
8+
finalizers:
9+
- resources-finalizer.argocd.argoproj.io
10+
spec:
11+
{{ .Values.kuberay.spec | toYaml | indent 2}}
12+
{{- end -}}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{{ if .Values.sparkOperator.enabled }}
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: 300-spark-operator
6+
annotations:
7+
argocd.argoproj.io/sync-wave: "300"
8+
finalizers:
9+
- resources-finalizer.argocd.argoproj.io
10+
spec:
11+
{{ .Values.sparkOperator.spec | toYaml | indent 2}}
12+
{{- end -}}

helm/kubeflow-core/values.yaml

+45
Original file line numberDiff line numberDiff line change
@@ -612,3 +612,48 @@ tensorboardsWebApp:
612612
prune: false
613613
syncOptions:
614614
- ServerSideApply=true
615+
616+
kuberay:
617+
enabled: false
618+
spec:
619+
project: default
620+
sources:
621+
- chart: 'kuberay-operator'
622+
repoURL: 'https://ray-project.github.io/kuberay-helm/'
623+
targetRevision: "1.1.0"
624+
helm:
625+
releaseName: "kuberay"
626+
ignoreMissingValueFiles: true
627+
valuesObject:
628+
resources: {}
629+
destination:
630+
namespace: 'kubeflow'
631+
name: 'in-cluster'
632+
syncPolicy:
633+
automated:
634+
prune: false
635+
syncOptions:
636+
- CreateNamespace=true
637+
- ServerSideApply=true
638+
639+
sparkOperator:
640+
enabled: false
641+
spec:
642+
project: default
643+
sources:
644+
- chart: 'spark-operator'
645+
repoURL: 'https://kubeflow.github.io/spark-operator'
646+
targetRevision: "1.1.27"
647+
helm:
648+
releaseName: "spark-operator"
649+
ignoreMissingValueFiles: true
650+
valuesObject: {}
651+
destination:
652+
namespace: 'kubeflow'
653+
name: 'in-cluster'
654+
syncPolicy:
655+
automated:
656+
prune: false
657+
syncOptions:
658+
- CreateNamespace=true
659+
- ServerSideApply=true

0 commit comments

Comments
 (0)