You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/11 09:37:53 UTC

[GitHub] [apisix-helm-chart] tranbaokhanh opened a new issue #213: how to browser to the apisix-dashboard

tranbaokhanh opened a new issue #213:
URL: https://github.com/apache/apisix-helm-chart/issues/213


   I have a cluster. 
   i install APISIX via Helm with:
   ```
   helm install apisix apisix/apisix \
   --set gateway.type=NodePort \
   --set dashboard.enabled=true \
   --set etcd.persistence.size=15G \
   --set etcd.persistence.enabled=true \
   --set etcd.volumePermissions.enabled=true \
   --set admin.allow.ipList="" \
   --namespace apisix
   
   ```
   `kubectl get pods -o wide -n apisix`
   
   > NAME                               READY   STATUS    RESTARTS   AGE    IP              NODE     NOMINATED NODE   READINESS GATES
   > apisix-8bd85d5ff-zhgnd             1/1     Running   0          135m   10.42.196.158   node01   <none>           <none>
   > apisix-dashboard-b69d5c768-b2jfj   1/1     Running   0          10m    10.42.196.163   node01   <none>           <none>
   > apisix-dashboard-b69d5c768-mdhsl   1/1     Running   3          135m   10.42.196.159   node01   <none>           <none>
   > apisix-etcd-0                      1/1     Running   0          135m   10.42.196.160   node01   <none>           <none>
   > apisix-etcd-1                      1/1     Running   0          135m   10.42.186.235   node03   <none>           <none>
   > apisix-etcd-2                      1/1     Running   0          135m   10.42.196.161   node01   <none>           <none>
   
   `kubectl get svc -n apisix`
   
   > NAME                   TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)             AGE
   > apisix-admin           ClusterIP   10.43.152.21    <none>        9180/TCP            158m
   > apisix-dashboard       ClusterIP   10.43.233.190   <none>        80/TCP              158m
   > apisix-etcd            ClusterIP   10.43.35.188    <none>        2379/TCP,2380/TCP   158m
   > apisix-etcd-headless   ClusterIP   None            <none>        2379/TCP,2380/TCP   158m
   > apisix-gateway         NodePort    10.43.153.8     <none>        80:31588/TCP        158m
   
   So, How to browser to the apisix-dashboard


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-helm-chart] tranbaokhanh commented on issue #213: how to browser to the apisix-dashboard

Posted by GitBox <gi...@apache.org>.
tranbaokhanh commented on issue #213:
URL: https://github.com/apache/apisix-helm-chart/issues/213#issuecomment-1009829907


   @tokers how to set the apisix dashboard svc type to Nodeport?
   i use this cmd:
   `helm install apisix apisix/apisix --set gateway.type=NodePort --set ingress-controller.enabled=false --set dashboard.enabled=true --set dashboard.type=NodePort --set etcd.persistence.size=15G --set etcd.persistence.enabled=true --set etcd.volumePermissions.enabled=true --set admin.allow.ipList="" --namespace apisix`
   But that incorrect.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-helm-chart] tokers commented on issue #213: how to browser to the apisix-dashboard

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #213:
URL: https://github.com/apache/apisix-helm-chart/issues/213#issuecomment-1011634663


   > @tokers Thanks for your advice. i got it. BTW i have one more prbl. According this cmd
   > 
   > > @tokers how to set the apisix dashboard svc type to Nodeport? i use this cmd: `helm install apisix apisix/apisix --set gateway.type=NodePort --set ingress-controller.enabled=false --set dashboard.enabled=true --set dashboard.type=NodePort --set etcd.persistence.size=15G --set etcd.persistence.enabled=true --set etcd.volumePermissions.enabled=true --set admin.allow.ipList="" --namespace apisix` But that incorrect.
   > 
   > i have check [#105 (comment)](https://github.com/apache/apisix-helm-chart/issues/105#issuecomment-864813598) and set `etcd.volumePermissions.enabled=true` but it dont auto create pv on my Nodes i follow Setting up a High-availability RKE Kubernetes Cluster [https://rancher.com/docs/rancher/v2.6/en/installation/resources/k8s-tutorials/ha-rke/](url)
   
   I don't have too much experience for the use of RKE, maybe you can throw the question to Rancher community.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-helm-chart] tokers commented on issue #213: how to browser to the apisix-dashboard

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #213:
URL: https://github.com/apache/apisix-helm-chart/issues/213#issuecomment-1010521328


   @tranbaokhanh See https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix-dashboard/values.yaml#L81.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-helm-chart] tranbaokhanh commented on issue #213: how to browser to the apisix-dashboard

Posted by GitBox <gi...@apache.org>.
tranbaokhanh commented on issue #213:
URL: https://github.com/apache/apisix-helm-chart/issues/213#issuecomment-1010548487


   @tokers  Thanks for your advice. i got it.
   BTW i have one more prbl. According this cmd 
   #
   
   > @tokers how to set the apisix dashboard svc type to Nodeport? i use this cmd: `helm install apisix apisix/apisix --set gateway.type=NodePort --set ingress-controller.enabled=false --set dashboard.enabled=true --set dashboard.type=NodePort --set etcd.persistence.size=15G --set etcd.persistence.enabled=true --set etcd.volumePermissions.enabled=true --set admin.allow.ipList="" --namespace apisix` But that incorrect.
   
   i have check https://github.com/apache/apisix-helm-chart/issues/105#issuecomment-864813598 and set `etcd.volumePermissions.enabled=true` but it dont auto create pv on my Nodes
   i follow Setting up a High-availability RKE Kubernetes Cluster 
   [https://rancher.com/docs/rancher/v2.6/en/installation/resources/k8s-tutorials/ha-rke/](url)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-helm-chart] tokers commented on issue #213: how to browser to the apisix-dashboard

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #213:
URL: https://github.com/apache/apisix-helm-chart/issues/213#issuecomment-1009770707


   1. You can use `kubectl port-forward` to expose the service to your localhost, so that you can access it.
   2. You can set the apisix-dashboard service type to `NodePort` so that you can access it through Kubernetes worker nodes' IP addresses;
   3. If you're using a managed Kubernetes service like EKS, you can set the apisix-dashboard service type to `LoadBalancer`, so AWS will assign an ELB address for you, and you can access it on the Internet;
   4. (NOT SUGGEST), you can expose your APISIX service firstly through the above 3 ways, then adding a route to expose the apisix-dashboard by APISIX.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org