You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
# krane 2.4.7# testing k8s-connection:
Kubernetes control plane is running at https://kas.gitlab.com/k8s-proxy
CoreDNS is running at https://kas.gitlab.com/k8s-proxy/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
NAME STATUS AGE
test Active 3s
# deploying to test...
[INFO][2022-05-25 13:58:36 +0000]
[INFO][2022-05-25 13:58:36 +0000] ---------------------------------Phase 1: Initializing render task----------------------------------
[INFO][2022-05-25 13:58:36 +0000] Validating configuration
[INFO][2022-05-25 13:58:36 +0000]
[INFO][2022-05-25 13:58:36 +0000] -----------------------------------Phase 2: Rendering template(s)-----------------------------------
[INFO][2022-05-25 13:58:36 +0000] Rendering nginx.yml...
[INFO][2022-05-25 13:58:36 +0000] Rendered nginx.yml
[INFO][2022-05-25 13:58:36 +0000]
[INFO][2022-05-25 13:58:36 +0000] ------------------------------------------Result: SUCCESS-------------------------------------------
[INFO][2022-05-25 13:58:36 +0000] Successfully rendered 1 template(s)
[INFO][2022-05-25 13:58:36 +0000]
[INFO][2022-05-25 13:58:37 +0000]
[INFO][2022-05-25 13:58:37 +0000] ------------------------------------Phase 1: Initializing deploy------------------------------------
[INFO][2022-05-25 13:58:39 +0000] All required parameters and files are present
[INFO][2022-05-25 13:58:39 +0000] Discovering resources:
[WARN][2022-05-25 13:58:41 +0000] The following command failed and will be retried (attempt 1/5): kubectl get --raw /k8s-proxy --context\=gitlab-agent:context --request-timeout\=15
[WARN][2022-05-25 13:58:41 +0000] Error from server: the server responded with the status code 426 but did not return more information
[WARN][2022-05-25 13:58:41 +0000] The following command failed and will be retried (attempt 2/5): kubectl get --raw /k8s-proxy --context\=gitlab-agent:context --request-timeout\=15
[WARN][2022-05-25 13:58:41 +0000] Error from server: the server responded with the status code 426 but did not return more information
[WARN][2022-05-25 13:58:43 +0000] The following command failed and will be retried (attempt 3/5): kubectl get --raw /k8s-proxy --context\=gitlab-agent:context --request-timeout\=15
[WARN][2022-05-25 13:58:43 +0000] Error from server: the server responded with the status code 426 but did not return more information
[WARN][2022-05-25 13:58:47 +0000] The following command failed and will be retried (attempt 4/5): kubectl get --raw /k8s-proxy --context\=gitlab-agent:context --request-timeout\=15
[WARN][2022-05-25 13:58:47 +0000] Error from server: the server responded with the status code 426 but did not return more information
[WARN][2022-05-25 13:58:55 +0000] The following command failed (attempt 5/5): kubectl get --raw /k8s-proxy --context\=gitlab-agent:context --request-timeout\=15
[WARN][2022-05-25 13:58:55 +0000] Error from server: the server responded with the status code 426 but did not return more information
[INFO][2022-05-25 13:58:55 +0000]
[INFO][2022-05-25 13:58:55 +0000] ------------------------------------------Result: FAILURE-------------------------------------------
[FATAL][2022-05-25 13:58:55 +0000] Error retrieving raw path /: error from server: the server responded with the status code 426 but did not return more information
[FATAL][2022-05-25 13:58:55 +0000]
Not sure yet if this is a problem with krane or gitlab restricting access. But since normal kubectl works i thought i'd start somewhere.
Any help debugging would be appreciated.;)
regards,
strowi
The text was updated successfully, but these errors were encountered:
strowi
changed the title
Deployment with Gitlab-Agent fails
Deployment with Gitlab-Agent/KAS fails
May 25, 2022
Bug report
Using the Gitlab-Agent to deploy to K8s with Shopify/krane/ fails.
Expected behavior: Successful Deployment
Actual behavior: krane fails to
kubectl get --raw /k8s-proxy
Version(s) affected: 2.4.7
Steps to Reproduce
kubectl get --raw /k8s-proxy
directly:Output:
Not sure yet if this is a problem with krane or gitlab restricting access. But since normal
kubectl
works i thought i'd start somewhere.Any help debugging would be appreciated.;)
regards,
strowi
The text was updated successfully, but these errors were encountered: