Giter VIP home page Giter VIP logo

eks-operator's Introduction

rancher/eks-operator

EKS operator is a Kubernetes CRD controller that controls cluster provisioning in Elastic Kubernetes Service using an EKSClusterConfig defined by a Custom Resource Definition.

Build

TAG=master make

Develop

The easiest way to debug and develop the EKS operator is to replace the default operator on a running Rancher instance with your local one.

  • Run a local Rancher server
  • Provision an EKS cluster
  • Scale the eks-operator deployment to replicas=0 in the Rancher UI
  • Open the eks-operator repo in Goland, set KUBECONFIG=<kubeconfig_path> in Run Configuration Environment
  • Run the eks-operator in Debug Mode
  • Set breakpoints

Release

When should I release?

A KEv2 operator should be released if

  • There have been several commits since the last release,
  • You need to pull in an update/bug fix/backend code to unblock UI for a feature enhancement in Rancher
  • The operator needs to be unRC for a Rancher release

How do I release?

Tag the latest commit on the master branch. For example, if latest tag is:

  • v1.1.6-rc1 you should tag v1.1.6-rc2.
  • v1.1.6 you should tag v1.1.7-rc1.
# Get the latest upstream changes
# Note: `upstream` must be the remote pointing to `[email protected]:rancher/eks-operator.git`.
git pull upstream master --tags

# Export the tag of the release to be cut, e.g.:
export RELEASE_TAG=v1.1.6-rc2

# Create tags locally
git tag -s -a ${RELEASE_TAG} -m ${RELEASE_TAG}

# Push tags
# Note: `upstream` must be the remote pointing to `[email protected]:rancher/eks-operator.git`.
git push upstream ${RELEASE_TAG}

Submit a rancher/charts PR to update the operator and operator-crd chart versions. Submit a rancher/rancher PR to update the bundled chart.

How do I unRC?

UnRC is the process of removing the rc from a KEv2 operator tag and means the released version is stable and ready for use. Release the KEv2 operator but instead of bumping the rc, remove the rc. For example, if the latest release of EKS operator is:

  • v1.1.6-rc1, release the next version without the rc which would be v1.1.6.
  • v1.1.6, that has no rc so release that version or v1.1.7 if updates are available.

eks-operator's People

Contributors

alexander-demicev avatar cbron avatar cmurphy avatar dependabot[bot] avatar furkatgofurov7 avatar jakefhyde avatar jiaqiluo avatar kevinjoiner avatar macedogm avatar mbologna avatar mjura avatar oxr463 avatar phillipsj avatar rmweir avatar salasberryfin avatar superseb 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.