Skip to content

Commit

Permalink
Add the POD_IP downward API to the activator.
Browse files Browse the repository at this point in the history
Activator will need to know its address to implement slicing.

Part of knative#5692.

/assign mattmoor
  • Loading branch information
vagababov committed Sep 26, 2019
1 parent 889389f commit 3e06ab2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config/activator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: SYSTEM_NAMESPACE
valueFrom:
fieldRef:
Expand Down
2 changes: 1 addition & 1 deletion pkg/reconciler/ingress/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ type BaseIngressReconciler struct {
Tracker tracker.Interface
Finalizer string

StatusManager StatusManager
StatusProber *StatusProber
}

var (
Expand Down

0 comments on commit 3e06ab2

Please sign in to comment.