Use Running Pods Endpoint for testing
* Use the VKUBELET API for fetching the pods during testing, which makes it easier to run testing without wiring up an entire cluster * Runningpods does not require each provider to implement the optional stats interface for testing.
This commit is contained in:
@@ -23,6 +23,13 @@ spec:
|
||||
- --klog.logtostderr
|
||||
- --log-level
|
||||
- debug
|
||||
env:
|
||||
- name: KUBELET_PORT
|
||||
value: "10250"
|
||||
- name: VKUBELET_POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 10255
|
||||
|
||||
Reference in New Issue
Block a user