Open GunSik2 opened 3 years ago
ToDo
참고
모니터링
./helm install spark-operator incubator/sparkoperator --namespace spark-operator \
--set enableWebhook=true --set enableBatchScheduler=true \
--set ingressUrlFormat="\{\{\$appName\}\}.ingress.cluster.com"
목적
사전조건
절차
$ kubectl describe sparkapplications spark-pi Status: Application State: State: RUNNING .. Events: Type Reason Age From Message
Normal SparkApplicationAdded 3m2s spark-operator SparkApplication spark-pi was added, enqueuing it for submission Normal SparkApplicationSubmitted 2m59s spark-operator SparkApplication spark-pi was submitted successfully Normal SparkDriverRunning 2m55s spark-operator Driver spark-pi-driver is running Normal SparkExecutorPending 2m49s (x2 over 2m49s) spark-operator Executor spark-pi-3cc1457bf2107d9e-exec-1 is pending Normal SparkExecutorPending 2m49s (x2 over 2m49s) spark-operator Executor spark-pi-3cc1457bf2107d9e-exec-2 is pending Normal SparkExecutorRunning 2m46s spark-operator Executor spark-pi-3cc1457bf2107d9e-exec-1 is running Normal SparkExecutorRunning 2m45s spark-operator Executor spark-pi-3cc1457bf2107d9e-exec-2 is running Normal SparkExecutorCompleted 13s spark-operator Executor spark-pi-3cc1457bf2107d9e-exec-2 completed Normal SparkExecutorCompleted 13s (x2 over 13s) spark-operator Executor spark-pi-3cc1457bf2107d9e-exec-1 completed Normal SparkDriverCompleted 13s (x2 over 13s) spark-operator Driver spark-pi-driver completed Normal SparkApplicationCompleted 13s spark-operator SparkApplication spark-pi completed
$ kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.43.0.1 443/TCP 27h
spark-pi-24da4f7bf25935da-driver-svc ClusterIP None 7078/TCP,7079/TCP,4040/TCP 4m41s
spark-pi-ui-svc ClusterIP 10.43.196.240 4040/TCP 4m41s
helm uninstall my-release kubectl delete serviceaccounts my-release-spark-operator -n spark-operator kubectl delete serviceaccounts default -n spark-operator