Question

Enable PodPreset


Userlevel 1
Badge +2

Hi

Someone know if we can enable PodPreset on the Karbon? (https://kubernetes.io/docs/concepts/workloads/pods/podpreset/#enable-pod-preset)

Basically my cluster are under a Proxy and I can’t deploy application under Pod because they need to access the internet, with the PodPreset I can configure the proxy information like this https://docs.gitlab.com/ee/topics/autodevops/index.html#installing-helm-behind-a-proxy

Regards

Anibal


12 replies

Userlevel 4
Badge +3

Hey @Anibal Ulisses . We don’t have any documentation regarding this i.e using PodPreset with Karbon, but give me some time I will research and get back to you with an answer.:sweat_smile:

Userlevel 4
Badge +3

Hey @Anibal Ulisses , so I researched and what I found was we currently don’t have support for this.

Also, this is an Alpha feature and usually we only enable beta and above.

So what can you do in this scenarios is basically use an internal container repository instead of an internet one so that you don't need to depend on a proxy.

One of our alliance partners makes free container registry that you can use https://jfrog.com/container-registry/  or you can use the one from your Gitlab.

 

Let me know if you need any more help:relaxed:

Userlevel 1
Badge +2

Hey @AnishWalia20 

Great, thank you about your reply, but I see a problem to use internal container repository due I’m tring to implement gitlab integration with karbon and Gitlab wants to install helm… not sure if I can install helm without from gitlab to get it working…

The recommendation for the proxy comes from the gitlab support, i’ll try to ask if I can use container repository…

If you have any another idea I’ll appreciaty.

 

regards,

Anibal

Userlevel 4
Badge +3

Hey @Anibal Ulisses it is indeed a pleasure,:smiley: Ahhhh I see . So maybe if it’s for a Helm chart then what you can try is helm pull <chart name> should create a tarball locally (to be done on a computer with internet access and/or proxy configured) and then helm install <release> <chartname>.tgz 
 

We basically have lots of customers using Helm with Karbon without any issues, but we haven’t tested Helm from Gitlab in Karbon. 

 

You can try this option in the meantime. 

Userlevel 4
Badge +3

Hey @Anibal Ulisses  , did you try the above and did you discuss the same with the Gitlab support about using an internal container repo.

 

Let me know if you need anything else.:relaxed:

Userlevel 4
Badge +3

Hi @Anibal Ulisses , just following up and curious to know, any success with the above?:sweat_smile::thinking:

 

 

Userlevel 1
Badge +2

@AnishWalia20 no success until now.. still stopped on it.

 

Userlevel 1
Badge +2

I try to install helm but helm init didn’t work for me

 

 helm init --service-account=tiller --history-max 300
Error: unknown command "init" for "helm"

Userlevel 4
Badge +3

Any update from GitLab on it @Anibal Ulisses on using internal container repo ?

Userlevel 1
Badge +2

no. gitlab didn’t provide, just informed that I need to use podpreset or install manually.. nothing more.

Userlevel 4
Badge +3

I see, did you try using any internal container repo? @Anibal Ulisses 

Userlevel 1
Badge +2

no, because I didn’t know yet how to do it and also didn’t know if gitlab get from it

Reply