Giter Club home page Giter Club logo

cloudpak-provider's Introduction

cloudpak-provider

cloudpake-provider is a Crossplane Provider , which helps preparing dependencies and installing cloudpak .

Getting Started

Prerequisites

Play

Following executing are all in cluster which installing crossplane

Create secret storing the kubeconfig

Using the kubeconfig in this repo as example :

kubectl create secret generic example-provider-secret --from-file=credentials=./examples/provider/kubeconfig

You need replace the sample kubeconfig with your target kubeconfig

Create secret storing the imagepullsecret

You can directly use the repo one as below :

kubectl apply -f examples/dependency/imagePullSecret.yaml

Create provider config

kubectl apply -f examples/provider/config.yaml

Create a Dependency CR to prepare dependencies in target cluster

kubectl apply -f examples/dependency/dependency.yaml

Start the provider to watch procedure

make run 

Install provider-helm

Since I use helm-chart to deploy aiops intallation , so you need install provider-helm

cat << EOF | oc apply -f -
apiVersion: pkg.crossplane.io/v1alpha1
kind: Provider
metadata:
  name: provider-helm
spec:
  package: "crossplane/provider-helm:master"
EOF

And create a corresponding provider-config use the secret storing your target kubeconfig

cat << EOF | oc apply -f -
apiVersion: helm.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
  name: helm-provider
spec:
  credentials:
    source: Secret
    secretRef:
      name: example-provider-secret
      namespace: crossplane-system
      key: credentials
EOF      

Install aiops

kubectl apply -f examples/aiops/installation.yaml 

Note: you can modify the values in yaml to customize your installation

cloudpak-provider's People

Contributors

jianh619 avatar

Watchers

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