sparse-intern-71089
06/22/2023, 12:45 PMsalmon-account-74572
06/22/2023, 3:47 PMpulumi refresh
and others. Are you able to successfully use kubectl
to access the EKS cluster?late-nest-59850
06/23/2023, 8:44 AMsalmon-account-74572
06/23/2023, 2:20 PMlate-nest-59850
06/23/2023, 3:42 PMlate-nest-59850
06/23/2023, 3:51 PMexport const devopsEksProvider = devopsEksCluster.provider;
What would be the best way to alias that? Create a new one with that one's kubeconfig and alias it?salmon-account-74572
06/23/2023, 3:55 PMpulumi stack export > file.json
) to get the current provider information. Then, in your code, you can use the alias
resource option to the provider defined above with the information gained from the state file. A fair amount of this is covered in the alias docs. I also need to find you the other thread! Got pulled into a meeting, but let me look for that now.salmon-account-74572
06/23/2023, 3:56 PMlate-nest-59850
07/11/2023, 8:16 AMalias
resolution. I've updated the pulumi, aws, eks and kubernetes providers to the latest stable release.salmon-account-74572
07/11/2023, 3:35 PMsalmon-account-74572
07/11/2023, 6:34 PMpulumi about
?late-nest-59850
07/12/2023, 1:45 PMCLI
Version 3.74.0
Go Version go1.20.5
Go Compiler gc
Plugins
NAME VERSION
aws 5.41.0
aws 5.31.0
awsx 1.0.2
docker 3.6.1
eks 1.0.2
kubernetes 3.30.1
nodejs unknown
Host
OS debian
Version bookworm/sid
Arch x86_64
This project is written in nodejs: executable='/bin/node' version='v18.16.1'
Current Stack: superb/devops/shared
Found no pending operations associated with stack
Backend
Name <http://pulumi.com|pulumi.com>
URL <https://app.pulumi.com/xx>
User xx
Organizations xx
Dependencies:
NAME VERSION
@pulumi/pulumi 3.74.0
@types/node 14.18.53
@pulumi/aws 5.41.0
@pulumi/awsx 1.0.2
@pulumi/eks 1.0.2
@pulumi/kubernetes 3.30.1
I'll add it to the issue as well.late-nest-59850
08/15/2023, 11:12 AMlate-nest-59850
08/17/2023, 1:06 PMsalmon-account-74572
08/21/2023, 1:38 PMlate-nest-59850
08/21/2023, 1:39 PMbillowy-army-68599
late-nest-59850
08/22/2023, 8:00 AMlate-nest-59850
08/22/2023, 11:33 AM{
"urn": "urn:pulumi:shared::devops::eks:index:Cluster::devopsEksCluster",
"custom": false,
"type": "eks:index:Cluster",
"outputs": {
"eksCluster": {
"4dabf18193072939515e22adb298388d": "5cf8f73096256a8f31e491e813e4eb8e",
"id": "superb-eks-devops",
"packageVersion": "",
"urn": "urn:pulumi:shared::devops::eks:index:Cluster$aws:eks/cluster:Cluster::devopsEksCluster-eksCluster"
},
"kubeconfig": {
"apiVersion": "v1",
"clusters": [
{
"cluster": {
"certificate-authority-data": "xxx",
"server": "<https://xxx.gr7.eu-central-1.eks.amazonaws.com>"
},
"name": "kubernetes"
}
],
"contexts": [
{
"context": {
"cluster": "kubernetes",
"user": "aws"
},
"name": "aws"
}
],
"current-context": "aws",
"kind": "Config",
"users": [
{
"name": "aws",
"user": {
"exec": {
"apiVersion": "<http://client.authentication.k8s.io/v1beta1|client.authentication.k8s.io/v1beta1>",
"args": [
"eks",
"get-token",
"--cluster-name",
"superb-eks-devops",
"--role",
"arn:aws:iam::xx:role/xx"
],
"command": "aws",
"env": [
{
"name": "KUBERNETES_EXEC_INFO",
"value": "{\"apiVersion\": \"<http://client.authentication.k8s.io/v1beta1\|client.authentication.k8s.io/v1beta1\>"}"
}
]
}
}
}
]
}
},
"parent": "urn:pulumi:shared::devops::pulumi:pulumi:Stack::devops-shared"
}
Is there any additional info I can provide?