https://pulumi.com logo
#general
Title
# general
g

green-salesclerk-34937

05/22/2020, 6:19 AM
Does anyone have tried https://github.com/pulumi/examples/tree/master/kubernetes-ts-jenkins ? It looks simple but I’m not getting through it. with some errors like attached image, but I’ve got through prerequite eks-nginx quite smoothly.
b

billowy-army-68599

05/22/2020, 6:42 AM
that error seems to indicate that your deployment hasn't come up because it wasn't able to attach a PVC. Where is your cluster deployed? Do you have a storage class deployed, did your persistent volumes get created?
ah, I notice it's in EKS. Can you show my the output of
kubectl get storageclasses
g

green-salesclerk-34937

05/22/2020, 7:27 AM
Copy code
$ kubectl get storageclasses 

NAME                                PROVISIONER             AGE
gp2 (default)                       <http://kubernetes.io/aws-ebs|kubernetes.io/aws-ebs>   125m
helloworld-gp2-dqzz6skn (default)   <http://kubernetes.io/aws-ebs|kubernetes.io/aws-ebs>   123m
https://www.pulumi.com/docs/tutorials/kubernetes/eks/ I’ve followed this tutorial, and reused working eks cluster as provider for jenkins (i’ve copied jenkins.ts )
Copy code
export const instance = new jenkins.Instance({
    name: 'jenkins',
    credentials: {
        username: config.require("username"),
        password: config.require("password"),
    },
    resources: {
        memory: "512Mi",
        cpu: "100m",
    },
}, { provider: cluster.provider });
originally there was no provider, and that failed either with similiar error
I wondered how that jenkins class can be deployed into existing eks cluster without specifying the cluster