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 2020/11/16 03:52:58 UTC

[GitHub] [apisix-dashboard] ziyou434 opened a new issue #809: My process of deploying dashboard on kubenetes

ziyou434 opened a new issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809


   - [X] Other
   
   ___
   ### Question
   My process of deploying dashboard on kubenetes - 2020/11/16
   ___
   
   Because there is no official image right now, so I used iiqi‘s image [https://github.com/iiQi/apisix-dashboard-docker](url)
   you can find “iiqi/apisix-dashboard“ and "iiqi/apisix-manager"
   I use deployment.yaml and service.yaml  deployed these images on kubernetes.
   First I set two new configmap for images
   
   /etc/nginx/conf.d/backend.conf 
   ```
   upstream backend {
     server 127.0.0.1:8080;    # put your manager-api service's cluster IP
   }
   ```
   /go/manager-api/conf/conf.json
   ```
   "etcd": {
             "endpoints":"127.0.0.1:2379"   # put your etcd service's cluster IP
   ...
   ...
   "user": [
         {
           "username": "admin",
           "password": "admin"
         },
         {
           "username": "user",
           "password": "user"
         }
           },
   ```
   Then change your apisix's configmap
   /usr/local/apisix/conf/config-default.yaml
   ```
   enable_admin: true     # change to false
   ```
   Finally, use your kubernetes ingress or apisix create a route 
   
   example:
   ```
   curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d '
   {
     "uri": "/*",
     "host": "apisix-dashboard.alpha.tplinknbu.com",
     "upstream": {"nodes": {"apisix-dashboard.api-gateway.svc.cluster.local:8080": 1}, "type": "roundrobin"}
   }'
   ```
   Go to apisix-dashboard.alpha.tplinknbu.com and login 
   
   


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #809: My process of deploying dashboard on kubernetes

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-731975319


   Hi @ziyou434, would like to file a PR here[1] so we can add your posts to website[2].
   
   [1] **https://github.com/apache/apisix-website/tree/master/website/blog
   [2] https://apisix.apache.org/blog/


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #809: My process of deploying dashboard on kubenetes

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-729035528


   👏
   
   and we have Docker support in the v2.0 branch.


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #809: My process of deploying dashboard on kubernetes

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-748746884


   Hi, anything could I help you?


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #809: My process of deploying dashboard on kubernetes

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-748797564


   Oh yes, I added that label because no update here 😂 kindly refile a PR when you are free 💯 


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] ziyou434 commented on issue #809: My process of deploying dashboard on kubernetes

Posted by GitBox <gi...@apache.org>.
ziyou434 commented on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-748777655


   .
   
   > Hi, anything could I help you?
   
   emm... I find you added the wait for update label, I remembered I added the PR ,but I can't find my action about this ,maybe I did the wrong operation.


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] juzhiyuan commented on issue #809: My process of deploying dashboard on kubernetes

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-748801945


   related issue https://github.com/apache/apisix-website/pull/118


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] juzhiyuan closed issue #809: My process of deploying dashboard on kubernetes

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809


   


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] juzhiyuan edited a comment on issue #809: My process of deploying dashboard on kubernetes

Posted by GitBox <gi...@apache.org>.
juzhiyuan edited a comment on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-731975319


   Hi @ziyou434, would like to file a PR here[1] so we can add your posts to website[2].
   
   [1] https://github.com/apache/apisix-website/tree/master/website/blog
   [2] https://apisix.apache.org/blog/


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] membphis commented on issue #809: My process of deploying dashboard on kubenetes

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-729020402


   @ziyou434 you can write an article about this ^_^
   
   Chinese or English, they are all fine.


----------------------------------------------------------------
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.

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



[GitHub] [apisix-dashboard] ziyou434 commented on issue #809: My process of deploying dashboard on kubernetes

Posted by GitBox <gi...@apache.org>.
ziyou434 commented on issue #809:
URL: https://github.com/apache/apisix-dashboard/issues/809#issuecomment-731979568


   > Hi @ziyou434, would like to file a PR here[1] so we can add your posts to website[2].
   > 
   > [1] https://github.com/apache/apisix-website/tree/master/website/blog
   > [2] https://apisix.apache.org/blog/
   
   Of course, some details involve company information, so I just wrote it roughly. If it can help others, I will be honored.
   I will organize and summarize it tonight


----------------------------------------------------------------
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.

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