# README
how to run
must in go module
# pull all dependency
go get .
go build -o local-service-controller
./local-service-controller -kubeconfig ~/.kube/config
create crd and local-service
kubectl create -f artifacts/examples/crd.yaml
kubectl create -f artifacts/examples/example.yaml
# Packages
No description provided by the author
# Functions
NewController returns a new controller.
NewController returns a new pod controller.
# Constants
ErrResourceExists is used as part of the Event 'reason' when a LocalService fails to sync due to a Deployment of the same name already existing.
MessageResourceExists is the message used for Events when a resource fails to sync due to a Deployment already existing.
MessageResourceSynced is the message used for an Event fired when a local-service is synced successfully.
service owner label key.
No description provided by the author
rack label key.
SuccessSynced is used as part of the Event 'reason' when a LocalService is synced.
# Structs
Controller is the controller implementation for LocalService resources.
Controller is the controller implementation for Pods resources.