Giter Site home page Giter Site logo

janus-idp / operator Goto Github PK

View Code? Open in Web Editor NEW
14.0 8.0 14.0 2.06 MB

Deprecated - Operator for Backstage, based on the Operator SDK framework - see https://github.com/redhat-developer/rhdh-operator

Home Page: https://github.com/redhat-developer/rhdh-operator

License: Apache License 2.0

Dockerfile 2.37% Makefile 6.94% Go 83.64% Shell 7.05%
backstage janus-idp kubernetes kubernetes-operator kubernetes-operator-sdk kubernetes-operators openshift operator operator-sdk backstage-operator

operator's Introduction

Backstage Operator

DEPRECATION WARNING

As of August 2024, this repo is deprecated and read-only.

Please continue to work on this project in the following places:

The Goal

The Goal of Backstage Operator project is creating Kubernetes Operator for configuring, installing and synchronizing Backstage instance on Kubernetes/OpenShift. The initial target is in support of Red Hat's assemblies of Backstage - specifically supporting dynamic-plugins on OpenShift. This includes Red Hat Developer Hub (RHDH) but may be flexible enough to install any compatible Backstage instance on Kubernetes. See additional information under Configuration. The Operator provides clear and flexible configuration options to satisfy a wide range of expectations, from "no configuration for default quick start" to "highly customized configuration for production".

More documentation...

Getting Started

You’ll need a Kubernetes or OpenShift cluster. You can use Minikube or KIND for local testing, or deploy to a remote cluster. Note: Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster kubectl cluster-info shows).

To test it on minikube from the source code:

Both kubectl and minikube must be installed. See tools.

  1. Get your copy of Operator from GitHub:
git clone https://github.com/janus-idp/operator
  1. Deploy Operator on the minikube cluster:
cd <your-rhdh-operator-project-dir>
make deploy

you can check if the Operator pod is up by running

kubectl get pods -n backstage-system
It should be something like:
NAME                                           READY   STATUS    RESTARTS   AGE
backstage-controller-manager-cfc44bdfd-xzk8g   2/2     Running   0          32s
  1. Create Backstage Custom resource on some namespace (make sure this namespace exists)
kubectl -n <your-namespace> apply -f examples/bs1.yaml

you can check if the Operand pods are up by running

kubectl get pods -n <your-namespace>
It should be something like:
NAME                         READY   STATUS    RESTARTS   AGE
backstage-85fc4657b5-lqk6r   1/1     Running   0          78s
backstage-psql-bs1-0         1/1     Running   0          79s
  1. Tunnel Backstage Service and get URL for access Backstage
minikube service -n <your-namespace> backstage --url
Output:
>http://127.0.0.1:53245
  1. Access your Backstage instance in your browser using this URL.

More documentation

Telemetry data collection

The telemetry data collection feature is enabled by default. The default configuration uses image with backstage-plugin-analytics-provider-segment plugin enabled and configured. To disable this and to learn what data is being collected, see https://github.com/janus-idp/backstage-showcase/blob/main/showcase-docs/getting-started.md#telemetry-collection

License

Copyright 2023 Red Hat Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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.