Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmd/atecontroller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ func main() {
ateapiClient := ateapipb.NewControlClient(ateapiConn)

mgr, err := ctrl.NewManager(k8sConfig, ctrl.Options{
Scheme: scheme,
Scheme: scheme,
HealthProbeBindAddress: ":8081",
})
if err != nil {
setupLog.Error(err, "unable to start manager")
Expand Down
13 changes: 13 additions & 0 deletions manifests/ate-install/ate-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,19 @@ spec:
- name: healthz
containerPort: 8081
protocol: TCP
readinessProbe:
httpGet:
path: /readyz
port: healthz
initialDelaySeconds: 5
periodSeconds: 2
failureThreshold: 3
livenessProbe:
httpGet:
path: /healthz
port: healthz
initialDelaySeconds: 10
periodSeconds: 10
volumeMounts:
# Controller's own client identity presented to ateapi.
- name: "podidentity"
Expand Down
Loading