Hi,

The old way to access k8s dashboard does not work any more.
please refer to https://github.com/apache/cloudstack/pull/7764


-Wei



On Tue, 20 Feb 2024 at 08:27, Bharat Bhushan Saini
<bharat.sa...@kloudspot.com.invalid> wrote:

> Hi,
>
>
>
> I am hittine below URL
>
>
> http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/
>
> Below some more info that will help you to recognise as below
>
> kubectl --kubeconfig kube.conf get pods --all-namespaces
>
> NAMESPACE              NAME
>           READY   STATUS    RESTARTS      AGE
>
> kube-system            coredns-76f75df574-lfgzj
>           1/1     Running   0             22h
>
> kube-system            coredns-76f75df574-mtktc
>           1/1     Running   0             22h
>
> kube-system            etcd-kloudspot-app-control-18dc0a3d55e
>           1/1     Running   0             22h
>
> kube-system            kube-apiserver-kloudspot-app-control-18dc0a3d55e
>           1/1     Running   0             22h
>
> kube-system            
> kube-controller-manager-kloudspot-app-control-18dc0a3d55e
>   1/1     Running   0             22h
>
> kube-system            kube-proxy-74zcb
>           1/1     Running   0             22h
>
> kube-system            kube-proxy-hts4p
>           1/1     Running   0             22h
>
> kube-system            kube-scheduler-kloudspot-app-control-18dc0a3d55e
>           1/1     Running   0             22h
>
> kube-system            weave-net-8j6j2
>           2/2     Running   0             22h
>
> kube-system            weave-net-mlv6t
>           2/2     Running   1 (22h ago)   22h
>
> kubernetes-dashboard   kubernetes-dashboard-api-645688966c-8xqjp
>           1/1     Running   0             22h
>
> kubernetes-dashboard
> kubernetes-dashboard-metrics-scraper-b847579df-tjw86        1/1     Running
>   0             22h
>
> kubernetes-dashboard   kubernetes-dashboard-web-648b489598-psn94
>           1/1     Running   0             22h
>
>
>
> kubectl --kubeconfig kube.conf get nodes --all-namespaces
>
> NAME                                STATUS   ROLES           AGE   VERSION
>
> kloudspot-app-control-18dc0a3d55e   Ready    control-plane   22h   v1.29.2
>
> kloudspot-app-node-18dc0a3f52e      Ready    <none>          22h   v1.29.2
>
>
>
> kubectl --kubeconfig kube.conf get services --all-namespaces
>
> NAMESPACE              NAME                                   TYPE        
> CLUSTER-IP
>       EXTERNAL-IP   PORT(S)                  AGE
>
> default                kubernetes                             ClusterIP
> 10.96.0.1        <none>        443/TCP                  22h
>
> kube-system            kube-dns                               ClusterIP   
> 10.96.0.10
>       <none>        53/UDP,53/TCP,9153/TCP   22h
>
> kubernetes-dashboard   kubernetes-dashboard-api               ClusterIP
> 10.102.124.59    <none>        9000/TCP                 22h
>
> kubernetes-dashboard   kubernetes-dashboard-metrics-scraper   ClusterIP   
> 10.111.159.255
>   <none>        8000/TCP                 22h
>
> kubernetes-dashboard   kubernetes-dashboard-web               ClusterIP   
> 10.108.135.214
>   <none>        8000/TCP                 22h
>
>
>
>
>
> Thanks and Regards,
>
> Bharat Saini
>
>
>
> [image: signature_828139211]
>
>
>
> *From: *Vivek Kumar <vivek.ku...@indiqus.com>
> *Date: *Tuesday, 20 February 2024 at 12:17 PM
> *To: *Bharat Bhushan Saini <bharat.sa...@kloudspot.com>
> *Cc: *users@cloudstack.apache.org <users@cloudstack.apache.org>
> *Subject: *Re: K8s Dashboard Not Found
>
> EXTERNAL EMAIL: Please verify the sender email address before taking any
> action, replying, clicking any link or opening any attachment.
>
>
>
> Can you share me the URL which you are hitting on the browser ?
>
>
>
>
> Vivek Kumar
>
> Sr. Manager - Cloud & DevOps
>
> TechOps | Indiqus Technologies
>
> [image: Image removed by sender.]
>
> vivek.ku...@indiqus.com
>
> [image: Image removed by sender.]
>
> www.indiqus.com
>
>
>
>
>
>
>
> On 20-Feb-2024, at 12:12 PM, Bharat Bhushan Saini <
> bharat.sa...@kloudspot.com> wrote:
>
>
>
> Hi Vivek,
>
>
>
> I am trying to access the dashboard from kubectl proxy.
>
>
>
> Thanks and Regards,
>
> Bharat Saini
>
>
>
> <image001.png>
>
>
>
> *From: *Vivek Kumar via users <users@cloudstack.apache.org>
> *Date: *Tuesday, 20 February 2024 at 12:08 PM
> *To: *users@cloudstack.apache.org <users@cloudstack.apache.org>
> *Subject: *Re: K8s Dashboard Not Found
>
> EXTERNAL EMAIL: Please verify the sender email address before taking any
> action, replying, clicking any link or opening any attachment.
>
>
> Hello Bharat,
>
> How are you accessing the dashboard ?  Using the kubeclt proxy ?
>
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
>
> vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com
> <vivek.ku...@indiqus.com>>
>         www.indiqus.com <https://www.indiqus.com/>
>
>
>
>
> > On 20-Feb-2024, at 12:00 PM, Bharat Bhushan Saini <
> bharat.sa...@kloudspot.com.INVALID> wrote:
> >
> > Hi All,
> >
> > I enabled the CKS service in the cloudstack dashboard. After all the
> things done I am unable to access the K8s dashboard.
> > I encountered in the browser that ‘services “Kubernetes-dashboard” not
> found’.
> >
> > Kindly suggest any resolvement for this.
> >
> > Thanks and Regards,
> > Bharat Saini
> >
> >
> > --------------------------- Disclaimer: ------------------------------
> > This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
> >
>
>
> --
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result of
> viruses.
>
> --------------------------- Disclaimer: ------------------------------
> This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
>
>
>
>
> *This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result of
> viruses.*
>
> --------------------------- Disclaimer: ------------------------------
> This message and its contents are intended solely for the designated
> addressee and are proprietary to Kloudspot. The information in this email
> is meant exclusively for Kloudspot business use. Any use by individuals
> other than the addressee constitutes misuse and an infringement of
> Kloudspot's proprietary rights. If you are not the intended recipient,
> please return this email to the sender. Kloudspot cannot guarantee the
> security or error-free transmission of e-mail communications. Information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
> for any issues arising from the transmission of this email.
>

Reply via email to