Coder Social home page Coder Social logo

jpoley / pulp-operator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pulp/pulp-operator

0.0 2.0 0.0 203 KB

Kubernetes Operator for Pulp 3. Under active development.

Home Page: https://pulp-operator.readthedocs.io/en/latest/

License: GNU General Public License v2.0

Dockerfile 0.73% Shell 54.87% Python 7.02% Gherkin 0.11% HTML 30.36% Makefile 6.91%

pulp-operator's Introduction

Pulp Operator

A Kubernetes Operator for Pulp 3, under active development (not production ready yet) by the Pulp team. The goal is to provide a scalable and robust cluster for Pulp 3. Pre-built images are hosted on quay.io.

Note that it utilizes a single container image from the pulpcore repo, to run 4 different types of service containers (like pulpcore-api & pulpcore-content.) currently manually built and hosted on quay.io.

It is currently working towards Phase 1 of the Kubernetes Operator Capability Model before being published on OperatorHub, including compatibility with more clusters.

See latest slide deck for more info.

Services

  • pulpcore-api - serves REST API, Galaxy APIs (v1, v2, v3, UI), and the container registry API. The number of instances of this service should be scaled as demand requires. Administrators and users of all of the APIs create demand for this service.

  • pulpcore-content - serves content to clients. pulpcore-api redirects clients here to download content. When content is being mirrored from a remote source this service can download that content and stream it to the client the first time the content is requested. The number of instances of this service should be scaled as demand requires. Content consumers create demand for this service.

  • pulpcore-worker - performs syncing, importing of content, and other asynchronous operations that required resource locking. The number of instances of this service should be scaled as demand requires. Administrators and content importers create demand for this service.

  • pulpcore-resource-manager - all asynchronous work flows through this service. Only a single entity does work, but other instances can be run as hot spares that will take over if the active one fails.

Created with (based on template)

cd pulp-operator
operator-sdk init --domain=pulpproject.org --plugins=ansible
operator-sdk create api --group pulpproject.org --version v1alpha1 --kind Pulp --generate-playbook

Built/pushed with

make docker-build docker-push IMG=quay.io/pulp/pulp-operator:latest

Usage

Review config/samples/pulp_v1alpha1_pulp.default.yaml. If the variables' default values are not correct for your environment, copy to config/samples/pulp_v1alpha1_pulp.yaml, uncomment "spec:", and uncomment and adjust the variables.

./up.sh

minikube service list

or

Get external ports:

kubectl get services

Get external IP addresses:

kubectl get pods -o wide

pulp-operator's People

Contributors

mikedep333 avatar fao89 avatar dkliban avatar ehelms avatar bmbouter avatar

Watchers

James Cloos avatar  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.