GunSik2 / k8s-ai

ai/bigdata/gpu examples with k8s
0 stars 0 forks source link

superset #15

Open GunSik2 opened 3 years ago

GunSik2 commented 3 years ago

Install superset to k8s

$ git clone https://github.com/apache/superset
$ cd superset/
$ helm dep up ./helm/superset
$ helm upgrade --install superset ./helm/superset
NAME: superset
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
  echo "Visit http://127.0.0.1:8088 to use your application"
  kubectl port-forward service/superset 8088:8088 --namespace default

$ kubectl get pods
NAME                                    READY   STATUS      RESTARTS   AGE
superset-744d876c7d-jn5xg          1/1     Running     0          4m42s
superset-init-db-z5228             0/1     Completed   0          4m42s
superset-postgresql-0              1/1     Running     0          4m42s
superset-redis-master-0            1/1     Running     0          4m42s
superset-worker-7fff4f497b-rk4kl   1/1     Running     0          4m42s

// Superset 데이터 로드
kubectl exec -n default -it superset-744d876c7d-jn5xg bash
# superset load-examples

Superset 접속

참고자료

GunSik2 commented 3 years ago

400 Bad Request : The plain HTTP request was sent to HTTPS port (TODO)

image