Jenkins version : 2.204.4 (hosted Jenkins in IBM server) Kubernetes plugin version: 1.24.1
Tested process 1: I am trying to configure Kubernetes plugin with the EKS cluster, but could not get any proper documentation. Can I please ask you how you configured it. I tried disabling the "http certificate check" and in secrets I gave "kubeconfig file" as a secret file and tested the connection and seen below error:
Test Connection - Error testing connection https://xxxxxxxxx.ap-southeast-2.eks.amazonaws.com: null
Tested process 2: Given Kubernetes url, disabled the "http certificate check" and haven't added passed any credentials and tested the connection, seen below error :, I still see the same error even after installing aws-iam-authenticator in Jenkins master.
Error testing connection Failure executing: GET at: . Message: pods is forbidden: User "system:anonymous" cannot list resource "pods" in API group "" in the namespace "default". Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=null, kind=pods, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=pods is forbidden: User "system:anonymous" cannot list resource "pods" in API group "" in the namespace "default", metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
Can someone please help me in fixing this error?