Skip to content

Clouddriver sometimes bombs out for some reason after 2 days. This is a simple go application that gets the pod name and deletes it every 36 hours.

Notifications You must be signed in to change notification settings

tjma2001/clouddriver-pod-delete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blurb

This repo contains a workaround the the clouddriver issues contained in this post: spinnaker/spinnaker#2039

Running the solution

A kubernetes cronjob has been setup to delete the clouddriver service every 24 hours. To run the solution:

kubectl apply -f kubernetes-cronjob.yaml

The base image is available on https://hub.docker.com

docker pull tensaibankai/clouddriver-pod-delete

BUILD

Application

To build this application you need to have go installed.

Install the dependencies with:

go get k8s.io/client-go/...

Build the application with:

GOOS=linux go build -o ./app .

Run the application:

./app

Docker image

Build the docker image with:

docker build -t clouddriver-pod-delete .

About

Clouddriver sometimes bombs out for some reason after 2 days. This is a simple go application that gets the pod name and deletes it every 36 hours.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages