kubernetes cronjobs using jenkins - jenkins

i'am using kubernetes cronjob in my local machine with minikube. All work fine locally but, when hay try to deploy my code using jenkins in a kubernetes cluster hosted in GCP, this dont work. error is this
Hello everyone, i'am using kubernetes cronjob in my local machine with minikube. All work fine locally but, when hay try to deploy my code using jenkins in a kubernetes cluster hosted in GCP, this dont work. error is this:
Error of jenkins when is deploying

Related

Run testcontainers remotely in Rancher cluster

I have Spring boot test with testcontainers and I can run test locally from idea and in this case containers will run locally in Rancher desktop and test is work .
Also we have Rancher cluster where running our microservices.
I want that testcontainers running remotely in Rancher cluster.
I have found settings for testcontainers:
docker.client.strategy=org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy
docker.host=tcp\://dockerHost\:1234
docker.tls.verify=1
docker.cert.path=/home/cert
But help me please Where I can found in Rancher web UI this parameters?
Do I Need to do something additionally in Rancher?
If I understand correctly I need IP running docker/rancher demon?
Thanks!

Run Docker image using Rancher on AWS EKS and local device

Can I use a Rancher desktop to run workload images on the local machine on the Kubernetes cluster in containers and also offload workload on AWS EKS (run local images on AWS EKS cluster EC2 instances )? I mean can I manage both usages together using one Rancher desktop app?
The workload can be printing numbers from 1-20 using for loop and I want to offload this workload(by creating its image )to AWS EKS cloud or offload the workload to machine2 and run its image in a container and bring the output back to my machine.
I was thinking about using rancher or minikube to run local Kubernetes but I needed a tool which can also offload the work to AWS EKS and also to another machine. (binary usage) So I decided to do some research I am stuck at this point. Can Rancher Solve my problems?

Can't deploy docker image on openshift

I try to deploy my docker image from docker hub on openshift using both Openshift web console or minishift, all the processes seemed to be successful including Deployment, Service and Route. However when i click on the link to test my service it shows the error. I have tested my docker image and it work perfectly fine. Openshift
Openshift Error
Localhost

Can't run jenkins slave on ECS fargate

I'm using Amazon Elastic Container Service plugin which allows running Jenkins slaves on AWS ECS. Functionality which allows running slaves on EC2 type of ECS works perfectly, but I can't run slaves on Fargate. Tasks in the cluster are not created and no any activity in the ECS cluster at all. Can anyone share configurations of Amazon Elastic Container Service plugin which successfully works with Fargate, or help with an issue?

How do I create a local kubernates cluster in a VM?

I have a set of docker images running in a Kubernates cluster on GKE. I have a Jenkins server running on a VM in GKE.
I have docker builds and GKE deploys running on the Jenkins server, but I would like to start up a 'local' cluster on the Jenkins server after successful builds, run my dockers in that cluster, run my tests towards the cluster, and then close down the local cluster before deploying the docker images to GKE.
I know about minikube, but they state that you are not able to run nested VM's, and I wonder if this blocks my dream of test my cluster before deploying it?
Do I have to run my local cluster on a physical server to be able to run my tests, or is there a solution to my problem?
Have you considered using kubeadm?
You can run a Kubernetes cluster within your Jenkins VM. Setup is a bit different than minikube and it's still in beta but it will let you test your cluster before the final deployment.

Resources