Hi I am really Enjoying Pulumi, thanks for the tea...
# general
c
Hi I am really Enjoying Pulumi, thanks for the team and others involved for making this great job. I have a question about using Pulumi for my needs, I want to configure Istio in a GCP K8s using Pulumi. I already acomplished configuring Kubernetes cluster in GCP, and for Istio I don't want to use Helm, because Istio is dropping helm in 1.6. Now they instruct you to use istioclt that is a CLI to install Istio. So I want to know if the following is possible and safe: is it possible to use Pulumi to configure a cluster , then install Istio with istioclt and then apply the k8s manifests that needs istio using Pulumi again? If not, is there another way ?
c
You can’t install it via istioclt, but I believe their CLI supports generating the manifests.
Which you can use with pulumi
istioctl manifest generate > $HOME/generated-manifest.yaml
c
Thank you, I tried to generate with istioctl manifest generate, but it generates a non-valid yaml with if-else conditions. I will try to search if there is another way.
c
If it is, that sounds like a bug.
c
I will try again, thank you
One more question, I know it will generate k8s CRD, that needs to be up and running before the others manifests, is there a way to apply CRD manifests and then apply the others manifests?
Like two sequential kubectl apply ?
g
Pulumi’s k8s provider has retries built in, so you can apply everything at the same time in most cases, and it will still resolve properly.
c
I do wish Pulumi handled support for dependencies when using yaml/helm. I can’t imagine it being hard to do.
o
Can you explain this a bit more?
Copy code
then apply the k8s manifests that needs istio using Pulumi again
what k8s manifests are you referring to
c
yaml
I solved with @cool-egg-852 answer using configFile