Skip to content

Commit

Permalink
feat(charts/flink-operator): run on amd64 nodes (#322)
Browse files Browse the repository at this point in the history
The Operator image is AMD64 only.

Co-authored-by: Matt Wise <diranged@users.noreply.github.com>
  • Loading branch information
diranged and diranged authored Aug 2, 2024
1 parent 619248d commit f2d3973
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/flink-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Intalls the Spotify-version of the Flink-on-K8S-Operator
name: flink-operator
version: 0.1.0
version: 0.2.0
appVersion: v0.3.0
sources:
- https://github.com/spotify/flink-on-k8s-operator/releases
Expand Down
3 changes: 2 additions & 1 deletion charts/flink-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flink-operator

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.3.0](https://img.shields.io/badge/AppVersion-v0.3.0-informational?style=flat-square)
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: v0.3.0](https://img.shields.io/badge/AppVersion-v0.3.0-informational?style=flat-square)

Intalls the Spotify-version of the Flink-on-K8S-Operator

Expand Down Expand Up @@ -33,6 +33,7 @@ Intalls the Spotify-version of the Flink-on-K8S-Operator
| leaderElection.name | string | `"flink-operator-lock"` | (`string` The name of the Lease to hold if Leader Election is enabled. |
| mutatingWebhook.enabled | `bool` | `true` | Whether or not to create the MutatingWebhookConfiguration. Optionally disable-able if you are installing in a non-privileged environment where you cannot create Cluster-scoped resources. |
| namespaceScoped | `bool` | `false` | If enabled, then the Flink Operator will be scoped to watch only this local namespace. If this is set to `false` then all of the `Roles1 and `RoleBindings` will be namespace scoped. If this is set to True, then they will be converted to `ClusterRoles` and ClusterRoleBindings`. |
| nodeSelector | `map` | `{}` | Optional nodeSelector for the manager pod |
| podMonitor.enabled | `bool` | `true` | whether or not to enable pod monitor |
| rbacProxy.image.repository | `string` | `"gcr.io/kubebuilder/kube-rbac-proxy"` | The Docker Image to pull for the sidecar that provides secure authentication into the Flink Operator pod for the Kubernetes API. |
| rbacProxy.image.tag | `string` | `"v0.8.0"` | The Docker Tag to use |
Expand Down
5 changes: 5 additions & 0 deletions charts/flink-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ spec:
runAsNonRoot: false
serviceAccountName: {{ .Release.Name }}-controller-manager
terminationGracePeriodSeconds: 10
nodeSelector:
kubernetes.io/arch: amd64
{{- with .Values.nodeSelector }}
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: manager
image: {{ include "flink-operator.imageFqdn" . }}
Expand Down
3 changes: 3 additions & 0 deletions charts/flink-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ image:
# within the controller pod.
resources:

# -- (`map`) Optional nodeSelector for the manager pod
nodeSelector: {}

rbacProxy:
image:
# -- (`string`) The Docker Image to pull for the sidecar that provides
Expand Down

0 comments on commit f2d3973

Please sign in to comment.