-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
775af91
commit 3756fc7
Showing
5 changed files
with
124 additions
and
10 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
examples/daemonsetsharding/deployment-no-node-pods-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app.kubernetes.io/component: exporter | ||
app.kubernetes.io/name: kube-state-metrics-no-node-pods | ||
app.kubernetes.io/version: 2.12.0 | ||
name: kube-state-metrics-no-node-pods | ||
namespace: kube-system | ||
spec: | ||
clusterIP: None | ||
ports: | ||
- name: http-metrics | ||
port: 8080 | ||
targetPort: http-metrics | ||
- name: telemetry | ||
port: 8081 | ||
targetPort: telemetry | ||
selector: | ||
app.kubernetes.io/name: kube-state-metrics-no-node-pods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: pendingpod2 | ||
name: pendingpod2 | ||
namespace: default | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: pendingpod2 | ||
strategy: | ||
rollingUpdate: | ||
maxSurge: 25% | ||
maxUnavailable: 25% | ||
type: RollingUpdate | ||
template: | ||
metadata: | ||
labels: | ||
app: pendingpod2 | ||
spec: | ||
nodeSelector: | ||
debug-node: "non" | ||
containers: | ||
- command: | ||
- /agnhost | ||
- netexec | ||
- --http-port=8080q | ||
image: registry.k8s.io/e2e-test-images/agnhost:2.39 | ||
imagePullPolicy: IfNotPresent | ||
name: agnhost | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
dnsPolicy: ClusterFirst | ||
restartPolicy: Always | ||
schedulerName: default-scheduler | ||
terminationGracePeriodSeconds: 30 | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: runningpod1 | ||
name: runningpod1 | ||
namespace: default | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: runningpod1 | ||
strategy: | ||
rollingUpdate: | ||
maxSurge: 25% | ||
maxUnavailable: 25% | ||
type: RollingUpdate | ||
template: | ||
metadata: | ||
labels: | ||
app: runningpod1 | ||
spec: | ||
containers: | ||
- command: | ||
- /agnhost | ||
- netexec | ||
- --http-port=8080 | ||
image: registry.k8s.io/e2e-test-images/agnhost:2.39 | ||
imagePullPolicy: IfNotPresent | ||
name: agnhost | ||
terminationMessagePath: /dev/termination-log | ||
terminationMessagePolicy: File | ||
dnsPolicy: ClusterFirst | ||
restartPolicy: Always | ||
schedulerName: default-scheduler | ||
terminationGracePeriodSeconds: 30 |