Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPSMDB-1213 Add arm64 support for the e2e tests #1735

Open
wants to merge 46 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
97a6f79
Merge pull request #1714 from percona/release-1.18.0-push-test
eleo007 Nov 11, 2024
dc3633e
support for running e2e tests against arm64 GKE nodes
ptankov Nov 11, 2024
0a03ce9
making cert-manager able to be installed on arm64 nodes (using helm)
ptankov Nov 12, 2024
1111fdc
use apply_clien always so that client pod has proper tolerations applied
ptankov Nov 19, 2024
be2c942
update e2e test to use alpine/curl with tolerations for arm64 archite…
ptankov Nov 19, 2024
970942a
use apply_clien always so that client pod has proper tolerations appl…
ptankov Nov 19, 2024
da6966d
use apply_clien always so that client pod has proper tolerations appl…
ptankov Nov 19, 2024
09d5151
use apply_clien always so that client pod has proper tolerations appl…
ptankov Nov 19, 2024
d49669e
update deploy_cmctl function to handle arm64 architecture tolerations
ptankov Nov 19, 2024
f56e773
use apply_clien always so that client pod has proper tolerations appl…
ptankov Nov 20, 2024
b1a00f2
add tolerations for arm64 architecture in run_simple_cli_inside_image…
ptankov Nov 20, 2024
908eb0f
add tolerations for arm64 architecture in deploy_operator_gh and clea…
ptankov Nov 20, 2024
4c0c72d
add initial run-release-arm64 configuration with various options
ptankov Nov 20, 2024
e7eeeab
Merge branch 'release-1.18.0' into K8SPSMDB-1213
ptankov Nov 20, 2024
43c416b
amazon/aws-cli instead of perconalab/awscli
ptankov Nov 21, 2024
f9282dd
add support for arm64 architecture in various e2e tests and enhance b…
ptankov Nov 25, 2024
ee95241
for upgrade-consistency and upgrade-consistency-sharded-tls tests, we…
ptankov Nov 21, 2024
07aac83
remove hardcoded image references in configuration files for e2e tests
ptankov Nov 25, 2024
feaef62
Merge branch 'release-1.18.0' into K8SPSMDB-1213
ptankov Nov 25, 2024
49cfb0c
Merge branch 'main' into K8SPSMDB-1213
ptankov Nov 25, 2024
3d286ed
Refactor architecture checks and streamline cluster deletion process …
ptankov Nov 25, 2024
fa54637
Add architecture-specific tolerations for arm64 in OpenLDAP deployment
ptankov Nov 26, 2024
ce97657
Merge branch 'main' into K8SPSMDB-1213
ptankov Nov 26, 2024
061b459
Remove --no-hooks option from cert-manager Helm installation
ptankov Nov 26, 2024
fe10601
Refactor cert-manager deployment to use kubectl patch for arm64 toler…
ptankov Nov 27, 2024
35b3167
Update deploy_cmctl function to use service account for RBAC configur…
ptankov Nov 27, 2024
48ab905
Remove arm64 toleration from chaos pod failure configuration in self-…
ptankov Nov 27, 2024
b25251c
Set cluster variable for telemetry transfer function in e2e tests
ptankov Nov 28, 2024
bf9d74c
Committed by mistake. Removed.
ptankov Dec 11, 2024
74ba5cb
Merge branch 'main' into K8SPSMDB-1213
ptankov Dec 11, 2024
f78625c
returning commented out code, used for debugging purposes
ptankov Dec 11, 2024
4666fc9
Merge branch 'main' into K8SPSMDB-1213
ptankov Dec 11, 2024
dc76f30
refactor: replace hardcoded tolerations with variable for arm64 archi…
ptankov Dec 11, 2024
6bc5de5
Merge branch 'K8SPSMDB-1213' of github.com:percona/percona-server-mon…
ptankov Dec 11, 2024
592bbdc
refactor: simplify architecture check by removing quotes around varia…
ptankov Dec 11, 2024
15d6819
refactor: use regex for architecture check to improve readability and…
ptankov Dec 11, 2024
175f6d6
Merge branch 'main' into K8SPSMDB-1213
ptankov Dec 11, 2024
352cebd
Merge branch 'main' into K8SPSMDB-1213
ptankov Dec 18, 2024
13eb721
Merge branch 'main' into K8SPSMDB-1213
ptankov Dec 19, 2024
048db89
resolving the bug about applying secrets after creating cluste
ptankov Dec 19, 2024
55ff954
Merge branch 'main' into K8SPSMDB-1213
ptankov Dec 19, 2024
268b731
Merge branch 'main' into K8SPSMDB-1213
ptankov Dec 20, 2024
f477f63
Merge branch 'main' into K8SPSMDB-1213
ptankov Dec 31, 2024
79216ca
Merge branch 'main' into K8SPSMDB-1213
ptankov Jan 7, 2025
81347eb
Merge branch 'main' into K8SPSMDB-1213
ptankov Jan 8, 2025
23b31a5
Merge branch 'main' into K8SPSMDB-1213
ptankov Jan 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
171 changes: 171 additions & 0 deletions cw-rbac.yaml
ptankov marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: percona-server-mongodb-operator
rules:
- apiGroups:
- psmdb.percona.com
resources:
- perconaservermongodbs
- perconaservermongodbs/status
- perconaservermongodbs/finalizers
- perconaservermongodbbackups
- perconaservermongodbbackups/status
- perconaservermongodbbackups/finalizers
- perconaservermongodbrestores
- perconaservermongodbrestores/status
- perconaservermongodbrestores/finalizers
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
- pods/exec
- services
- persistentvolumeclaims
- secrets
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
- deployments
- replicasets
- statefulsets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- batch
resources:
- cronjobs
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- events.k8s.io
- ""
resources:
- events
verbs:
- get
- list
- watch
- create
- patch
- apiGroups:
- certmanager.k8s.io
- cert-manager.io
resources:
- issuers
- certificates
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- deletecollection
- apiGroups:
- net.gke.io
- multicluster.x-k8s.io
resources:
- serviceexports
- serviceimports
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- deletecollection
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: percona-server-mongodb-operator
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: service-account-percona-server-mongodb-operator
subjects:
- kind: ServiceAccount
name: percona-server-mongodb-operator
namespace: "psmdb-operator"
roleRef:
kind: ClusterRole
name: percona-server-mongodb-operator
apiGroup: rbac.authorization.k8s.io
171 changes: 171 additions & 0 deletions cw-rbac.yaml.1
ptankov marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: percona-server-mongodb-operator
rules:
- apiGroups:
- psmdb.percona.com
resources:
- perconaservermongodbs
- perconaservermongodbs/status
- perconaservermongodbs/finalizers
- perconaservermongodbbackups
- perconaservermongodbbackups/status
- perconaservermongodbbackups/finalizers
- perconaservermongodbrestores
- perconaservermongodbrestores/status
- perconaservermongodbrestores/finalizers
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
- pods/exec
- services
- persistentvolumeclaims
- secrets
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
- deployments
- replicasets
- statefulsets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- batch
resources:
- cronjobs
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- events.k8s.io
- ""
resources:
- events
verbs:
- get
- list
- watch
- create
- patch
- apiGroups:
- certmanager.k8s.io
- cert-manager.io
resources:
- issuers
- certificates
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- deletecollection
- apiGroups:
- net.gke.io
- multicluster.x-k8s.io
resources:
- serviceexports
- serviceimports
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- deletecollection
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: percona-server-mongodb-operator
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: service-account-percona-server-mongodb-operator
subjects:
- kind: ServiceAccount
name: percona-server-mongodb-operator
namespace: "psmdb-operator"
roleRef:
kind: ClusterRole
name: percona-server-mongodb-operator
apiGroup: rbac.authorization.k8s.io
Loading
Loading