Giter VIP home page Giter VIP logo

podpresetbinding-crd's Introduction

PodPresetBindings CRD

The source in the repository contains a PodPresetBinding resource that's implemented via a CRD built with Kubebuilder. The code here depends on installing and running the PodPreset CRD resource as well. The goal of this CRD is to provide an easy method for synchronizing a given deployment with binding credentials that are eventually made ready by service-catalog.

Getting started

In order to deploy the PodPresetBinding resource into your cluster, do the following:

  1. Deploy Kubernetes.

  2. Deploy PodPreset CRD.

  3. Install kustomize (which was also mentioned in the instructions of the other repository).

  4. Run CRD, choose to execute inside or outside the cluster.

    Inside cluster:

    make docker-build
    make deploy

    Outside cluster (for debugging/development):

    make install
    make run
  5. Apply desired pod preset bindings as needed, example given below.

Example usage

kubectl create -f config/samples/apod2-presetbinding.yaml
kubectl create -f config/samples/apod2-deployment.yaml

Additional information

Service Catalog integration

As mentioned before, the code here works with service catalog and the podpreset CRD code. The reconcile loop in this repository is responsible for handling creation and updates of pod preset resources based on the spec of a podpresetbinding. The podpreset CRD reconcile loop handles restarting deployments for which pod presets have mutated.

WARNING

Until this code is moved to an official Kubernetes namespaced repository, this repo may undergo force pushes to add additional necessary changes.

podpresetbinding-crd's People

Contributors

jpeeler avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

pmorie

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.