forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add k8s tolerations for aarch64 and x86 (pixie-io#867)
Summary: Adds k8s tolerations for aarch64 and x86. The base has patches for multiarch. For skaffold deploys we use single arch versions of the patches. Relevant Issues: pixie-io#147 Type of change: /kind cleanup Test Plan: Tested that I can build the yamls, and skaffold deploy. Will cut an RC to test that the yamls look good there. Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
- Loading branch information
1 parent
92ed07e
commit 25a31d5
Showing
17 changed files
with
292 additions
and
1 deletion.
There are no files selected for viewing
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,25 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoExecute" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoExecute" |
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,25 @@ | ||
--- | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoExecute" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoExecute" |
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,25 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoExecute" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoExecute" |
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,25 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoExecute" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoExecute" |
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,17 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoExecute" |
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,17 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoExecute" |
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,17 @@ | ||
--- | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoExecute" |
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,19 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../base | ||
- ../../pem | ||
patches: | ||
- path: deployment.yaml | ||
target: | ||
kind: Deployment | ||
- path: job.yaml | ||
target: | ||
kind: Job | ||
- path: statefulset.yaml | ||
target: | ||
kind: StatefulSet | ||
- path: daemonset.yaml | ||
target: | ||
kind: DaemonSet |
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,17 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "arm64" | ||
effect: "NoExecute" |
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,17 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoExecute" |
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,17 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoExecute" |
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,17 @@ | ||
--- | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoExecute" |
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,19 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../base | ||
- ../../pem | ||
patches: | ||
- path: deployment.yaml | ||
target: | ||
kind: Deployment | ||
- path: job.yaml | ||
target: | ||
kind: Job | ||
- path: statefulset.yaml | ||
target: | ||
kind: StatefulSet | ||
- path: daemonset.yaml | ||
target: | ||
kind: DaemonSet |
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,17 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: unused | ||
spec: | ||
template: | ||
spec: | ||
tolerations: | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoSchedule" | ||
- key: "kubernetes.io/arch" | ||
operator: "Equal" | ||
value: "amd64" | ||
effect: "NoExecute" |
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