Skip to content

Commit

Permalink
[NOJIRA] Remove offending flag, add static flag to containerd service
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiling-liftoff committed Mar 24, 2023
1 parent 88039df commit 3267649
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ on:
types: [published]
permissions:
id-token: write
contents: read
contents: write
jobs:
build-us-east-1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Assume github action role
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@master
with:
role-to-assume: "arn:aws:iam::320005014399:role/github-action"
aws-region: us-east-1

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@master
with:
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -46,13 +46,13 @@ jobs:
- uses: actions/checkout@v2

- name: Assume github action role
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@master
with:
role-to-assume: "arn:aws:iam::320005014399:role/github-action"
aws-region: us-west-2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@master
with:
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
Expand Down
1 change: 1 addition & 0 deletions files/kubelet-containerd.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ExecStart=/usr/bin/kubelet \
--kubeconfig /var/lib/kubelet/kubeconfig \
--container-runtime remote \
--container-runtime-endpoint unix:///run/containerd/containerd.sock \
--cpu-manager-policy static \
$KUBELET_ARGS \
$KUBELET_EXTRA_ARGS

Expand Down
1 change: 0 additions & 1 deletion files/kubelet.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ExecStart=/usr/bin/kubelet \
--config /etc/kubernetes/kubelet/kubelet-config.json \
--kubeconfig /var/lib/kubelet/kubeconfig \
--container-runtime docker \
--enable-cadvisor-json-endpoints \
--cpu-manager-policy static \
--network-plugin cni \
$KUBELET_ARGS \
Expand Down

0 comments on commit 3267649

Please sign in to comment.