Giter VIP home page Giter VIP logo

rancher-update-workload's Introduction

rancher-redeploy-workload is a docker image that redeploys a kubernetes workloads using Rancher's API.

Running

Hint

Running as a Github action

  - name: Update rancher deployment
    uses: th0th/[email protected]
    env:
      RANCHER_BEARER_TOKEN: ${{ secrets.RANCHER_BEARER_TOKEN }}
      RANCHER_CLUSTER_ID: 'c-qxyky'
      RANCHER_NAMESPACE: 'namespace'
      RANCHER_PROJECT_ID: 'p-hm2z1'
      RANCHER_URL: 'https://rancher.aperturescience.tld'
      RANCHER_WORKLOADS: 'wheatley1,wheatley2'
      RANCHER_DOCKER_REGISTRY: 'private-docker-registry.com'
      UPDATE_IMAGES:'registry.docker.com/test/rancher-redeploy-workload:sha-5de12we'

Running as a docker container

$ docker run --rm -it \
    -e RANCHER_BEARER_TOKEN="token-xgskl:n45p7tmd47t9lfzh7xl8rw6rvtrfzzxrtdr6qvjg27r4sjcxvzss7d" \
    -e RANCHER_CLUSTER_ID="c-qxyky" \
    -e RANCHER_NAMESPACE="namespace" \
    -e RANCHER_PROJECT_ID="p-hm2z1" \
    -e RANCHER_URL="https://rancher.aperturescience.tld" \
    -e RANCHER_WORKLOADS="wheatley1,wheatley2" \
    -e RANCHER_DOCKER_REGISTRY='private-docker-registry.com' \
    -e UPDATE_IMAGES='registry.docker.com/test/rancher-redeploy-workload:sha-5de12we'
    th0th/rancher-redeploy-workload:v0.6

##无耻的插头

我是一个独立的黑客,并且正在运行一个名为[WebGazer] (https://www.webgazer.io)的正常运行时间监视和分析平台。您可能想检查一下是否正在运行在线业务,并想在客户面前注意到这些事件。

License

Copyright © 2020, Gökhan Sarı. Released under the MIT License.

rancher-update-workload's People

Contributors

perrornet avatar th0th avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.