README
¶
PodPreset++
Design Documentation:
PodPreset And Proxy Documentation
Getting started:
-
Build the container image
make docker-build make docker-push
or
make docker
-
Install the Certificate manager in the cluster
make install-cert-manager
-
Create the reach CRD and deploy the webhook in the cluster
make deploy
This creates following objects in the cluster
- Namespace
reach-system
- CRD for
ClusterPodPreset
&PodPreset
- MutatingWebhookConfiguration
mutating-webhook-configuration
- Service named
reach-webhook-service
listening on port 443 inreach-system
namespace - A deployment named
reach-controller-manager
which runs the webhook pod
- Namespace
-
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
¶
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 |
Click to show internal directories.
Click to hide internal directories.