-
Notifications
You must be signed in to change notification settings - Fork 17
UID2-3783 Add files and scripts for running EKS e2e tests #889
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3bb292c
Add files and scripts for running EKS e2e tests
cYKatherine f4848be
Change image to IMAGE_PLACEHOLDER
cYKatherine 1154d2d
Update deployment file
cYKatherine c4cad52
Update custom branch inputs
cYKatherine 486ffb6
Add eks inputs
cYKatherine 0b72b43
Change image to IMAGE_PLACEHOLDER
cYKatherine fc5dc13
Pass in eks pcr0
cYKatherine 40d685f
Update kcc-UID2-3783-e2e-test-for-eks to v3
cYKatherine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,88 @@ | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| labels: &Labels | ||
| app: uid2-operator | ||
| flavor: operator | ||
| annotations: &Annotations | ||
| env: integ | ||
| name: uid2-operator | ||
| spec: | ||
| replicas: 1 | ||
| revisionHistoryLimit: 10 | ||
| selector: | ||
| matchLabels: *Labels | ||
| strategy: | ||
| type: RollingUpdate | ||
| rollingUpdate: | ||
| maxUnavailable: 1 | ||
| maxSurge: 0 | ||
| template: | ||
| metadata: | ||
| labels: *Labels | ||
| annotations: *Annotations | ||
| spec: | ||
| affinity: | ||
| nodeAffinity: | ||
| requiredDuringSchedulingIgnoredDuringExecution: | ||
| nodeSelectorTerms: | ||
| - matchExpressions: | ||
| - key: aws-nitro-enclaves-k8s-dp # this ensures that the pod is only deployed to nodes that have the nitro extension installed | ||
| operator: In | ||
| values: | ||
| - enabled | ||
| podAntiAffinity: | ||
| requiredDuringSchedulingIgnoredDuringExecution: | ||
| - labelSelector: | ||
| matchExpressions: | ||
| - key: app # this ensures that a new pod is not deployed if there is already a pod with the label 'app=nginx' in the same topologyKey i.e. kubernetes.io/hostname | ||
| operator: In | ||
| values: | ||
| - uid2-operator | ||
| topologyKey: kubernetes.io/hostname | ||
| containers: | ||
| - image: IMAGE_PLACEHOLDER | ||
| imagePullPolicy: Always | ||
| name: uid2-operator | ||
| env: | ||
| - name: test | ||
| value: test | ||
| ports: | ||
| - containerPort: 80 | ||
| protocol: TCP | ||
| - name: prometheus | ||
| containerPort: 9080 | ||
| protocol: TCP | ||
| readinessProbe: | ||
| failureThreshold: 3 | ||
| httpGet: | ||
| path: /ops/healthcheck | ||
| port: 80 | ||
| scheme: HTTP | ||
| initialDelaySeconds: 30 | ||
| periodSeconds: 10 | ||
| successThreshold: 1 | ||
| timeoutSeconds: 1 | ||
| resources: | ||
| limits: | ||
| aws.ec2.nitro/nitro_enclaves: "1" | ||
| hugepages-1Gi: 24Gi | ||
| cpu: 250m | ||
| requests: | ||
| aws.ec2.nitro/nitro_enclaves: "1" | ||
| hugepages-1Gi: 24Gi | ||
| cpu: 250m | ||
| volumeMounts: | ||
| - name: secret-volume | ||
| mountPath: "/etc/secret/secret-value" | ||
| readOnly: true | ||
| - name: hugepage | ||
| mountPath: /dev/hugepages | ||
| readOnly: false | ||
| volumes: | ||
| - name: hugepage | ||
| emptyDir: | ||
| medium: HugePages-1Gi | ||
| - name: secret-volume | ||
| secret: | ||
| secretName: github-test-secret |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to merge these inputs together as github has a limit of 10 inputs: https://github.com/orgs/community/discussions/8774