wangchen615 / secondary-scheduler-operator

Red Hat Certified optional operator for secondary schedulers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Steps to Start

  1. Log in to your OpenShift cluster and clone the operator's code
~ cd ~/code/Go/src/github.com/openshift/
~ git clone https://github.com/openshift/secondary-scheduler-operator.git
~ cd secondary-scheduler-operator
  1. Build your own secondary-scheduler-operator image.
~ export QUAY_REGISTRY=${your_quay_user_id}
~ docker login quay.io
~ docker build -t quay.io/${QUAY_REGISTRY}/secondary-scheduler-operator:4.9 .
~ docker push quay.io/${QUAY_REGISTRY}/secondary-scheduler-operator:4.9
  1. Copy the deploy folder from the secondary-scheduler-operator repo to a temparory folder.
~ mkdir _tmp
~ cp -r ./deploy/*.yaml ./_tmp/
  1. Replace the operator image and prometheus info in yamls.
~ ./hack/trimaran-example.sh
  1. Create all resources needed for the secondary-scheduler-operator
~ oc create -f _tmp

About

Red Hat Certified optional operator for secondary schedulers

License:Apache License 2.0


Languages

Language:Go 74.4%Language:Shell 16.9%Language:Makefile 5.2%Language:Dockerfile 3.5%