reach

command module
v0.0.0-...-4bc6627 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

README

PodPreset++

Design Documentation:

PodPreset And Proxy Documentation

Getting started:

  1. Build the container image

    make docker-build
    make docker-push
    

    or

    make docker
    
  2. Install the Certificate manager in the cluster

    make install-cert-manager
    
  3. Create the reach CRD and deploy the webhook in the cluster

    make deploy
    

    This creates following objects in the cluster

    1. Namespace reach-system
    2. CRD for ClusterPodPreset & PodPreset
    3. MutatingWebhookConfiguration mutating-webhook-configuration
    4. Service named reach-webhook-service listening on port 443 in reach-system namespace
    5. A deployment named reach-controller-manager which runs the webhook pod
  4. Sample usage

    Create ClusterPodPreset

    kubectl apply -f config/samples/reach_v1alpha1_clusterpodpreset.yaml
    

    Create PodPreset in namespace of your choice

    kubectl apply -f config/samples/reach_v1alpha1_podpreset.yaml -n <namespace>
    

    Make sure pod you are expecting to create have matching selectors If you have not edited the selector Pod should have labels "spectrocloud.com/connection": podpreset-sample

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the reach v1alpha1 API group +kubebuilder:object:generate=true +groupName=reach.spectrocloud.com
Package v1alpha1 contains API Schema definitions for the reach v1alpha1 API group +kubebuilder:object:generate=true +groupName=reach.spectrocloud.com
pkg
env

Jump to

Keyboard shortcuts

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