helm | trigger docker build for kubernetes | Continuous Deployment library
kandi X-RAY | helm Summary
kandi X-RAY | helm Summary
This feature was added on 23th May 2021.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of helm
helm Key Features
helm Examples and Code Snippets
Community Discussions
Trending Discussions on helm
QUESTION
I'm following a tutorial https://docs.openfaas.com/tutorials/first-python-function/,
currently, I have the right image
...ANSWER
Answered 2022-Mar-16 at 08:10If your image has a latest
tag, the Pod's ImagePullPolicy
will be automatically set to Always
. Each time the pod is created, Kubernetes tries to pull the newest image.
Try not tagging the image as latest
or manually setting the Pod's ImagePullPolicy
to Never
.
If you're using static manifest to create a Pod, the setting will be like the following:
QUESTION
I'm trying to deploy a simple REST API written in Golang to AWS EKS.
I created an EKS cluster on AWS using Terraform and applied the AWS load balancer controller Helm chart to it.
All resources in the cluster look like:
...ANSWER
Answered 2022-Mar-15 at 15:23A CrashloopBackOff means that you have a pod starting, crashing, starting again, and then crashing again.
Maybe the error come from the application itself that it can not connect to database, redis,...
You may find something useful here:
My kubernetes pods keep crashing with "CrashLoopBackOff" but I can't find any log
QUESTION
Hi I would like to update a yaml like string into a yaml
i do have the following yaml file argocd.yaml
ANSWER
Answered 2021-Oct-21 at 06:20Your second approach can work, but in a roundabout way, as mikefarah/yq does not support updating multi-line block literals yet
One way to solve this, with the existing constructs would be to do below, without having to create a temporary YAML file
QUESTION
I want to set wildcard subdomain for my project, using k8s, nginx ingress controller, helm chart:
In ingress.yaml
file:
ANSWER
Answered 2022-Feb-18 at 09:56In your ingress.yaml
put quotes around the host key.
QUESTION
I'm facing the problem that we use an umbrella helm chart to deploy our services but our services are contained in subcharts. But there are some global configmaps that multiple services are using which are deployed by the umbrella chart. So a simplified structure looks like this:
...ANSWER
Answered 2022-Feb-10 at 17:19I found a workaround that requires you to refactor the contents of your global ConfigMap into a template in the umbrellas chart. You won't be able to use regular values from the umbrella chart in your ConfigMap, otherwise you'll get an error when trying to render the template in a subchart; you'll have to use global values instead.
QUESTION
I’ve the following yaml which I need to apply using the K8S go sdk (and not k8s cli) I didn’t find a way with the go sdk as it is custom resource, any idea how I can apply it via code to k8s?
This is the file
Any example will be very helpful!
...ANSWER
Answered 2022-Jan-17 at 16:00QUESTION
I was looking for a solution but I couldn't find any.
I have a bash script which executes something like this:
...ANSWER
Answered 2022-Jan-09 at 08:55You may use HELM's lookup function to query the cluster
The lookup function can be used to look up resources in a running cluster. The synopsis of the lookup function is lookup apiVersion, kind, namespace, name -> resource or resource list.
parameter type apiVersion string kind string namespace string name string Both name and namespace are optional and can be passed as an empty string ("").
QUESTION
Not sure if this is OS specific, but on my M1 Mac, I'm installing the Nginx controller and resource example located in the official Quick Start guide for the controller. for Docker Desktop for Mac. The instructions are as follows:
...ANSWER
Answered 2022-Jan-03 at 16:11I replicated your issue and got a similar behaviour on the Ubuntu 20.04.3 OS.
The problem is that NGINX Ingress controller Local testing guide did not mention that demo.localdev.me
address points to 127.0.0.1
- that's why it works without editing /etc/hosts
or /etc/resolve.conf
file. Probably it's something like *.localtest.me
addresses:
Here’s how it works. The entire domain name localtest.me—and all wildcard entries—point to 127.0.0.1. So without any changes to your host file you can immediate start testing with a local URL.
Also good and detailed explanation in this topic.
So Docker Desktop / Kubernetes change nothing on your host.
The address demo2.localdev.me
also points to 127.0.0.1
, so it should work as well for you - and as I tested in my environment the behaviour was exactly the same as for the demo.localdev.me
.
You may run nslookup
command and check which IP address is pointed to the specific domain name, for example:
QUESTION
can someone help? I am trying to inject a helm value on a config map, but it breaks the format. If I use the value directly instead of .Values, it works fine.
What I have:
...ANSWER
Answered 2021-Dec-18 at 11:17The easy way store everything into the file and use it directly first
file oidc.config
QUESTION
I would like to run a pod on one of my IoT devices.
Each one of those devices contains an environment variable I want this pod to use.
Is there any way to inject this env variable into the pod using build-in templating of helm
/kubectl
?
I was trying the following on my deployment.yaml
file:
ANSWER
Answered 2021-Dec-06 at 01:10It's not possible to directly pass the host's env vars to the pods. I often do that by creating a ConfigMap.
Create a ConfigMap with
from-lireral
option:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install helm
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page