multicluster-global-hub-lite

module
v0.0.0-...-f60eec5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2023 License: Apache-2.0

README

PkgGoDev Go Report Card

Global hub apiserver

Minimal embeddable Kubernetes-style apiserver

Prerequisites

  1. Connect to an OpenShift cluster
  2. Install the latest kubectl
  3. Install the latest kustomize

Development Prerequisites

  • Go v1.18+

Build and psuh the global-hub-apiserver and syncer image

make docker-push

Start the global-hub-apiserver on an OpenShift cluster

Deploy the global-hub-apiserver

make deploy

Start the syncer

  1. Create secret to connect the global hub apiserver from the syncer.
oc create secret generic multicluster-global-hub-kubeconfig --from-file=kubeconfig=./deploy/server/certs/kube-aggregator.kubeconfig
  1. Deploy the syncer
oc apply -k deploy/syncer

Directories

Path Synopsis
apis
hubcontrolplane/v1alpha1
Package hubcontrolplane contains API Schema definitions for the cluster v1alpha1 API group +kubebuilder:object:generate=true +groupName=cluster.open-cluster-management.io
Package hubcontrolplane contains API Schema definitions for the cluster v1alpha1 API group +kubebuilder:object:generate=true +groupName=cluster.open-cluster-management.io
cmd
server
apiserver
package kubeapiserver does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure.
package kubeapiserver does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure.
apiserver/options
Package options contains flags and options for initializing kube-apiserver
Package options contains flags and options for initializing kube-apiserver
controllers/kubecontroller
Package app imports the API groups that the client will support TODO: Remove this file when namespace controller and garbage collector stops using legacyscheme.Registry.RESTMapper()
Package app imports the API groups that the client will support TODO: Remove this file when namespace controller and garbage collector stops using legacyscheme.Registry.RESTMapper()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL