Hello folks, After upgrading the pulumi node packa...
# general
s
Hello folks, After upgrading the pulumi node packages to max, I am not able to deploy anything in the kubernetes cluster. For eg: I tried to deploy nginx ingress controller using pulumi and I get the following error from the pod:
Copy code
-------------------------------------------------------------------------------
NGINX Ingress controller
Release: v0.44.0
Build: f802554ccfadf828f7eb6d3f9a9333686706d613
Repository: <https://github.com/kubernetes/ingress-nginx>
nginx version: nginx/1.19.6
-------------------------------------------------------------------------------
I1229 11:12:26.402166 7 flags.go:208] "Watching for Ingress" class="nginx"
W1229 11:12:26.402595 7 flags.go:213] Ingresses with an empty class will also be processed by this Ingress controller
W1229 11:12:26.403000 7 client_config.go:614] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
W1229 11:12:26.403049 7 client_config.go:619] error creating inClusterConfig, falling back to default config: open /var/run/secrets/kubernetes.io/serviceaccount/token: permission denied
F1229 11:12:26.403200 7 main.go:299] Error while initiating a connection to the Kubernetes API server. This could mean the cluster is misconfigured (e.g. it has invalid API server certificates or Service Accounts configuration). Reason: open /var/run/secrets/kubernetes.io/serviceaccount/token: permission denied
Refer to the troubleshooting guide for more information: <https://kubernetes.github.io/ingress-nginx/troubleshooting/>
goroutine 1 [running]:
<http://k8s.io/klog/v2.stacks(0xc000128001|k8s.io/klog/v2.stacks(0xc000128001>, 0xc0003ec000, 0x1b4, 0x1d3)
<http://k8s.io/klog/v2@v2.4.0/klog.go:1026|k8s.io/klog/v2@v2.4.0/klog.go:1026> +0xb9
<http://k8s.io/klog/v2.(*loggingT).output|k8s.io/klog/v2.(*loggingT).output>(0x26915e0, 0xc000000003, 0x0, 0x0, 0xc0000a8cb0, 0x25e6c33, 0x7, 0x12b, 0x0)
<http://k8s.io/klog/v2@v2.4.0/klog.go:975|k8s.io/klog/v2@v2.4.0/klog.go:975> +0x19b
<http://k8s.io/klog/v2.(*loggingT).printf(0x26915e0|k8s.io/klog/v2.(*loggingT).printf(0x26915e0>, 0xc000000003, 0x0, 0x0, 0x0, 0x0, 0x1a92308, 0x13f, 0xc00006c190, 0x1, ...)
<http://k8s.io/klog/v2@v2.4.0/klog.go:750|k8s.io/klog/v2@v2.4.0/klog.go:750> +0x191
<http://k8s.io/klog/v2.Fatalf(...)|k8s.io/klog/v2.Fatalf(...)>
<http://k8s.io/klog/v2@v2.4.0/klog.go:1502|k8s.io/klog/v2@v2.4.0/klog.go:1502>
main.handleFatalInitError(...)
<http://k8s.io/ingress-nginx/cmd/nginx/main.go:299|k8s.io/ingress-nginx/cmd/nginx/main.go:299>
main.main()
<http://k8s.io/ingress-nginx/cmd/nginx/main.go:78|k8s.io/ingress-nginx/cmd/nginx/main.go:78> +0x3f4
goroutine 18 [chan receive]:
<http://k8s.io/klog/v2.(*loggingT).flushDaemon(0x26915e0)|k8s.io/klog/v2.(*loggingT).flushDaemon(0x26915e0)>
<http://k8s.io/klog/v2@v2.4.0/klog.go:1169|k8s.io/klog/v2@v2.4.0/klog.go:1169> +0x8b
created by <http://k8s.io/klog/v2.init.0|k8s.io/klog/v2.init.0>
<http://k8s.io/klog/v2@v2.4.0/klog.go:417|k8s.io/klog/v2@v2.4.0/klog.go:417> +0xdf
pulumi about
Copy code
CLI
Version 3.20.0
Go Version go1.17.5
Go Compiler gc
Plugins
NAME VERSION
aws 4.32.0
aws 4.32.0
docker 3.1.0
eks 0.36.0
kubernetes 3.12.1
nodejs unknown
Host
OS darwin
Version 12.0.1
Arch arm64
This project is written in nodejs (/usr/local/bin/node v14.16.0)
Current Stack: my-org/db1b158c-e815-11ea-97ef-13e6b152ce19
Found no resources associated with my-org/db1b158c-e815-11ea-97ef-13e6b152ce19
Found no pending operations associated with my-org/db1b158c-e815-11ea-97ef-13e6b152ce19
Backend
Name <http://pulumi.com|pulumi.com>
URL <https://app.pulumi.com/my-user>
User my-user
NAME VERSION
@pulumi/awsx 0.32.0
@pulumi/docker 3.1.0
@pulumi/eks 0.36.0
@pulumi/kubernetes 3.12.1
@pulumi/pulumi 3.20.0
@types/node 17.0.0
@pulumi/aws 4.32.0
See my code here: https://gist.github.com/leshibily/13281cf86efc79cdb6cb80e1d24af22f