quick-carpet-51129
09/14/2022, 6:45 AMeager-refrigerator-66976
09/14/2022, 9:53 AMpolite-breakfast-84569
09/14/2022, 11:41 AM$ kubectl exec -it my-pod -- sh
Error from server:
after debugging with kubectl -v=7 exec -it my-pod -- sh
I saw:
I0914 13:35:16.704958 79032 round_trippers.go:457] Response Status: 403 Forbidden in 95 milliseconds
I0914 13:35:16.705922 79032 helpers.go:216] server response object: [{
"metadata": {}
}]
so it seems there is some premission issue even though i am the cluster admin.
I just upgraded Rancher and decided to setup a cert-manager Certificate with istio:
apiVersion: <http://networking.istio.io/v1beta1|networking.istio.io/v1beta1>
kind: Gateway
metadata:
name: rancher
namespace: cattle-system
spec:
selector:
app: istio-ingressgateway
servers:
- port:
number: 443
name: https
protocol: HTTPS
hosts:
- <http://rancher.example.com|rancher.example.com>
tls:
mode: SIMPLE
credentialName: <http://rancher.example.com|rancher.example.com>
---
apiVersion: <http://networking.istio.io/v1beta1|networking.istio.io/v1beta1>
kind: VirtualService
metadata:
name: rancher
namespace: cattle-system
spec:
gateways:
- rancher
hosts:
- <http://rancher.example.com|rancher.example.com>
http:
- name: "http"
route:
- destination:
host: rancher.cattle-system.svc.cluster.local
port:
number: 80
Is there is something missing from my part?dazzling-smartphone-16726
09/14/2022, 11:50 AMReadyFalse21 mins ago[Disconnected] Cluster agent is not connected
Rancher v2.6.8 - K8s v1.24.2
Can anyone help?worried-activity-29498
09/14/2022, 2:12 PMtall-school-18125
09/14/2022, 3:19 PMhundreds-terabyte-36933
09/14/2022, 3:26 PMambitious-plastic-3551
09/14/2022, 4:32 PMadamant-kite-43734
09/14/2022, 4:34 PMsalmon-carpenter-62625
09/14/2022, 7:05 PMhundreds-terabyte-36933
09/14/2022, 8:05 PMhundreds-terabyte-36933
09/14/2022, 8:29 PMfreezing-activity-5466
09/15/2022, 4:13 AMbrave-refrigerator-52424
09/15/2022, 6:21 AMbrave-refrigerator-52424
09/15/2022, 6:22 AMincalculable-air-54033
09/15/2022, 7:57 AMsalmon-carpenter-62625
09/15/2022, 10:12 AMplain-petabyte-57092
09/15/2022, 11:20 AMmax surge
in Scaling/Upgrade policy means ?happy-finland-96682
09/15/2022, 1:06 PMmelodic-umbrella-19641
09/15/2022, 1:35 PMstocky-orange-9200
09/15/2022, 3:02 PMproud-ram-62490
09/15/2022, 3:48 PMgifted-branch-26934
09/15/2022, 4:55 PMicy-yak-43924
09/15/2022, 8:38 PMbusy-easter-55684
09/16/2022, 3:16 AMmysterious-policeman-1567
09/16/2022, 4:42 AMnutritious-crayon-45180
09/16/2022, 4:51 AMagreeable-barista-99354
09/16/2022, 1:28 PMagreeable-barista-99354
09/16/2022, 1:28 PMagreeable-barista-99354
09/16/2022, 1:30 PM