nxsbi commented on issue #8681:
URL: https://github.com/apache/cloudstack/issues/8681#issuecomment-2000337662

   @weizhouapache - I upgraded the SystemVM to 4.19 -- making progress.
   So now the cluster started up. I was able to download the kubeconfig file, 
and see the below. However, I am not able to retrieve the Token to access the 
dashboard. In the older cluster (v1.25) I can see the token, but here it just 
shows the output below - it seems its masking it. I also tried variations of 
the command but unable to get the token
   
   
   ```
   
    ./kubectl --kubeconfig k122.conf get pods --all-namespaces
   NAMESPACE              NAME                                               
READY   STATUS    RESTARTS      AGE
   kube-system            cloud-controller-manager-5b8fc87665-6n5xb          
1/1     Running   0             78m
   kube-system            coredns-5d78c9869d-z2zdh                           
1/1     Running   0             79m
   kube-system            coredns-5d78c9869d-zvgq9                           
1/1     Running   0             79m
   kube-system            etcd-k122-control-18e43529c69                      
1/1     Running   0             79m
   kube-system            kube-apiserver-k122-control-18e43529c69            
1/1     Running   0             79m
   kube-system            kube-controller-manager-k122-control-18e43529c69   
1/1     Running   0             79m
   kube-system            kube-proxy-vjxxj                                   
1/1     Running   0             79m
   kube-system            kube-proxy-vn4ql                                   
1/1     Running   0             79m
   kube-system            kube-scheduler-k122-control-18e43529c69            
1/1     Running   0             79m
   kube-system            weave-net-rvcql                                    
2/2     Running   0             79m
   kube-system            weave-net-znt5x                                    
2/2     Running   1 (79m ago)   79m
   kubernetes-dashboard   dashboard-metrics-scraper-5cb4f4bb9c-8f2g5         
1/1     Running   0             79m
   kubernetes-dashboard   kubernetes-dashboard-6bccb5f4cc-tphwg              
1/1     Running   0             79m
   
   
   ```
   ```
   
   ./kubectl --kubeconfig k122.conf describe secret $(./kubectl --kubeconfig 
k122.conf get secrets -n kubernetes-dashboard | grep kubernetes-dashboard-token 
| awk '{print $1}') -n kubernetes-dashboard
   Name:         kubernetes-dashboard-certs
   Namespace:    kubernetes-dashboard
   Labels:       k8s-app=kubernetes-dashboard
   Annotations:  <none>
   
   Type:  Opaque
   
   Data
   ====
   
   
   Name:         kubernetes-dashboard-csrf
   Namespace:    kubernetes-dashboard
   Labels:       k8s-app=kubernetes-dashboard
   Annotations:  <none>
   
   Type:  Opaque
   
   Data
   ====
   csrf:  256 bytes
   
   
   Name:         kubernetes-dashboard-key-holder
   Namespace:    kubernetes-dashboard
   Labels:       <none>
   Annotations:  <none>
   
   Type:  Opaque
   
   Data
   ====
   priv:  1679 bytes
   pub:   459 bytes
                                                                          
   ```
   


-- 
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: commits-unsubscr...@cloudstack.apache.org

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

Reply via email to