Skip to content

Commit

Permalink
update eni-max-pods sync workflow path
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbaker1 committed Jan 12, 2024
1 parent 3cf8461 commit aadcc2a
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 27 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/sync-eni-max-pods.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: '[Sync] Update eni-max-pods.txt'
name: "[Sync] Update eni-max-pods.txt"
on:
workflow_dispatch:
schedule:
# once a day
- cron: '0 0 * * *'
- cron: "0 0 * * *"
permissions:
id-token: write
contents: write
Expand Down Expand Up @@ -33,20 +33,20 @@ jobs:
set -o errexit
cd amazon-vpc-cni-k8s/
make generate-limits
cp misc/eni-max-pods.txt ../amazon-eks-ami/src/runtime/eni-max-pods.txt
cp misc/eni-max-pods.txt ../amazon-eks-ami/templates/shared/runtime/eni-max-pods.txt
- uses: peter-evans/create-pull-request@v4
with:
branch: update-eni-max-pods
path: amazon-eks-ami/
add-paths: files/eni-max-pods.txt
commit-message: "Update eni-max-pods.txt"
committer: "GitHub <noreply@github.com>"
author: "GitHub <noreply@github.com>"
labels: |
changelog/exclude
title: "Update eni-max-pods.txt"
body: |
Generated by [aws/amazon-vpc-cni-k8s](https://github.com/aws/amazon-vpc-cni-k8s):
```
make generate-limits
```
branch: update-eni-max-pods
path: amazon-eks-ami/
add-paths: templates/shared/runtime/eni-max-pods.txt
commit-message: "Update eni-max-pods.txt"
committer: "GitHub <noreply@github.com>"
author: "GitHub <noreply@github.com>"
labels: |
changelog/exclude
title: "Update eni-max-pods.txt"
body: |
Generated by [aws/amazon-vpc-cni-k8s](https://github.com/aws/amazon-vpc-cni-k8s):
```
make generate-limits
```
3 changes: 1 addition & 2 deletions nodeadm/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
_dist
_bin

_bin
3 changes: 1 addition & 2 deletions nodeadm/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# nodeadm

nodeadm is a bootstrap script for EKS worker nodes

nodeadm is a bootstrap script for EKS worker nodes
3 changes: 1 addition & 2 deletions nodeadm/rootfs/etc/systemd/system/kubelet.service
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ CPUAccounting=true
MemoryAccounting=true

[Install]
WantedBy=multi-user.target

WantedBy=multi-user.target
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Unit]
Description=Setup Local Disks in RAID-0 or separate Mounts
Description=Setup Local Disks in RAID-0 or separate Mounts

[Service]
ExecStart=/usr/bin/setup-local-disks $MOUNT_TYPE
Expand Down
2 changes: 1 addition & 1 deletion nodeadm/test/e2e/infra/containerd.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Description=Run the mock containerd
[Service]
ExecStart=/usr/bin/containerd

[Install]
[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion nodeadm/test/e2e/infra/imds-mock.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Description=Run the mock IMDS server
[Service]
ExecStart=imds-mock

[Install]
[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion nodeadm/test/e2e/infra/kubelet.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Description=Run the mock kubelet
[Service]
ExecStart=/usr/bin/kubelet

[Install]
[Install]
WantedBy=multi-user.target

0 comments on commit aadcc2a

Please sign in to comment.