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

Collect more info about Amazon VPC CNI #1245

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

guessi
Copy link
Member

@guessi guessi commented Apr 1, 2023

Issue #, if available:

Description of changes:

When troubleshooting with Amazon VPC CNI, it is very depends on how Envs pass into container, if we could get Envs that would be helpful. Besides from these, with detailed info output, we can also tell if aws-node is running with a Service Account, and if IRSA is properly configured, which should benefits a lot for troubleshooting.

Testing Done

Command output with ctr

# timeout 75 ctr --namespace k8s.io container list | awk '/amazon-k8s-cni:v/{print$1}' | xargs -n 1 ctr --namespace k8s.io container info
{
    "ID": "...",
    "Labels": {
        "io.cri-containerd.kind": "container",
        "io.kubernetes.container.name": "aws-node",
        "io.kubernetes.pod.name": "aws-node-n8v84",
        "io.kubernetes.pod.namespace": "kube-system",
        "io.kubernetes.pod.uid": "b30ff7a3-710c-4bf2-b451-0259d5b234cf"
    },
    "Image": "602401143452.dkr.ecr-fips.us-east-1.amazonaws.com/amazon-k8s-cni:v1.11.4",
    "Runtime": {
        "Name": "io.containerd.runc.v2",
        "Options": {
            "type_url": "containerd.runc.v1.Options",
            "value": "SAE="
        }
    },
    "SnapshotKey": "...",
    "Snapshotter": "overlayfs",
    "CreatedAt": "2023-04-27T16:19:30.403535063Z",
    "UpdatedAt": "2023-04-27T16:19:30.403535063Z",
    "Extensions": {
        "io.cri-containerd.container.metadata": {
            "type_url": "github.com/containerd/cri/pkg/store/container/Metadata",
            "value": "..."
        }
    },
    "Spec": {
        "ociVersion": "1.0.2-dev",
        "process": {
            "user": {
                "uid": 0,
                "gid": 0,
                "additionalGids": [
                    0
                ]
            },
            "args": [
                "/app/entrypoint.sh"
            ],
            "env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "HOSTNAME=ip-192-168-110-151.ec2.internal",
                "AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER=false",
                "DISABLE_METRICS=false",
                "WARM_ENI_TARGET=1",
                "AWS_STS_REGIONAL_ENDPOINTS=regional",
                "AWS_WEB_IDENTITY_TOKEN_FILE=/var/run/secrets/eks.amazonaws.com/serviceaccount/token",
                "AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=false",
                "AWS_VPC_K8S_CNI_LOG_FILE=/host/var/log/aws-routed-eni/ipamd.log",
                "WARM_PREFIX_TARGET=1",
                "MY_NODE_NAME=ip-192-168-110-151.ec2.internal",
                "ENABLE_IPv4=true",
                "AWS_REGION=us-east-1",
                "AWS_ROLE_ARN=arn:aws:iam::XXXXXX:role/XXX",
                "AWS_VPC_K8S_CNI_RANDOMIZESNAT=prng",
                "AWS_VPC_K8S_CNI_VETHPREFIX=eni",
                "AWS_VPC_K8S_PLUGIN_LOG_FILE=/var/log/aws-routed-eni/plugin.log",
                "AWS_VPC_K8S_PLUGIN_LOG_LEVEL=DEBUG",
                "ADDITIONAL_ENI_TAGS={}",
                "DISABLE_INTROSPECTION=false",
                "DISABLE_NETWORK_RESOURCE_PROVISIONING=false",
                "ENABLE_POD_ENI=false",
                "AWS_VPC_ENI_MTU=9001",
                "AWS_VPC_K8S_CNI_EXTERNALSNAT=false",
                "AWS_VPC_K8S_CNI_LOGLEVEL=DEBUG",
                "ENABLE_PREFIX_DELEGATION=false",
                "AWS_VPC_CNI_NODE_PORT_SUPPORT=true",
                "ENABLE_IPv6=false",
                "AWS_DEFAULT_REGION=us-east-1",
                "AWS_LOAD_BALANCER_WEBHOOK_SERVICE_SERVICE_HOST=10.100.86.249",
                "AWS_LOAD_BALANCER_WEBHOOK_SERVICE_PORT_443_TCP=tcp://10.100.86.249:443",
                "KUBERNETES_PORT_443_TCP_PROTO=tcp",
                "KUBE_DNS_PORT_53_UDP_ADDR=10.100.0.10",
                "KUBE_DNS_PORT_53_TCP=tcp://10.100.0.10:53",
                "AWS_LOAD_BALANCER_WEBHOOK_SERVICE_PORT_443_TCP_ADDR=10.100.86.249",
                "KUBERNETES_SERVICE_HOST=10.100.0.1",
                "KUBE_DNS_SERVICE_HOST=10.100.0.10",
                "KUBE_DNS_SERVICE_PORT_DNS_TCP=53",
                "KUBE_DNS_PORT_53_TCP_PROTO=tcp",
                "KUBE_DNS_PORT_53_TCP_ADDR=10.100.0.10",
                "AWS_LOAD_BALANCER_WEBHOOK_SERVICE_SERVICE_PORT=443",
                "AWS_LOAD_BALANCER_WEBHOOK_SERVICE_SERVICE_PORT_WEBHOOK_SERVER=443",
                "KUBERNETES_PORT_443_TCP_PORT=443",
                "KUBE_DNS_PORT_53_UDP_PORT=53",
                "KUBERNETES_PORT_443_TCP=tcp://10.100.0.1:443",
                "KUBERNETES_PORT_443_TCP_ADDR=10.100.0.1",
                "KUBE_DNS_SERVICE_PORT_DNS=53",
                "KUBE_DNS_PORT_53_TCP_PORT=53",
                "AWS_LOAD_BALANCER_WEBHOOK_SERVICE_PORT_443_TCP_PORT=443",
                "KUBERNETES_PORT=tcp://10.100.0.1:443",
                "KUBE_DNS_PORT=udp://10.100.0.10:53",
                "KUBERNETES_SERVICE_PORT=443",
                "KUBERNETES_SERVICE_PORT_HTTPS=443",
                "AWS_LOAD_BALANCER_WEBHOOK_SERVICE_PORT=tcp://10.100.86.249:443",
                "KUBE_DNS_SERVICE_PORT=53",
                "KUBE_DNS_PORT_53_UDP=udp://10.100.0.10:53",
                "KUBE_DNS_PORT_53_UDP_PROTO=udp",
                "AWS_LOAD_BALANCER_WEBHOOK_SERVICE_PORT_443_TCP_PROTO=tcp"
            ],
            ...

Command output with docker

# timeout 75 docker container list | awk '/amazon-k8s-cni/{print$NF}' | xargs -n 1 docker container inspect

[
    {
        "Id": "fdc5f8fc29864322384c708a83f6f72080bb095a8230ab4a3763040490aaf222",
        "Created": "2023-06-15T01:12:58.71597003Z",
        "Path": "/app/entrypoint.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 4238,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2023-06-15T01:12:59.533401526Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        ...
        "HostConfig": {
            "Binds": [
                "/opt/cni/bin:/host/opt/cni/bin",
                "/etc/cni/net.d:/host/etc/cni/net.d",
                "/var/log/aws-routed-eni:/host/var/log/aws-routed-eni",
                "/var/run/aws-node:/var/run/aws-node",
                "/var/run/dockershim.sock:/var/run/dockershim.sock",
                "/run/xtables.lock:/run/xtables.lock",
                "/var/lib/kubelet/pods/7dc2e85a-6acd-4d2a-ad5e-06629a70b556/volumes/kubernetes.io~projected/kube-api-access-tcvtp:/var/run/secrets/kubernetes.io/serviceaccount:ro",
                "/var/lib/kubelet/pods/7dc2e85a-6acd-4d2a-ad5e-06629a70b556/etc-hosts:/etc/hosts",
                "/var/lib/kubelet/pods/7dc2e85a-6acd-4d2a-ad5e-06629a70b556/containers/aws-node/5827febd:/dev/termination-log"
            ],
            ...
        },
        "GraphDriver": ...,
        "Mounts": ...,
        "Config": {
            "Hostname": "ip-192-168-31-214.ec2.internal",
            "Domainname": "",
            "User": "0",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "AWS_VPC_K8S_CNI_VETHPREFIX=eni",
                "DISABLE_METRICS=false",
                "ENABLE_PREFIX_DELEGATION=false",
                "WARM_ENI_TARGET=1",
                "ADDITIONAL_ENI_TAGS={}",
                "AWS_VPC_ENI_MTU=9001",
                "AWS_VPC_K8S_CNI_LOGLEVEL=DEBUG",
                "AWS_VPC_K8S_CNI_RANDOMIZESNAT=prng",
                "DISABLE_NETWORK_RESOURCE_PROVISIONING=false",
                "ENABLE_IPv4=true",
                "ENABLE_IPv6=false",
                "ENABLE_POD_ENI=false",
                "AWS_VPC_CNI_NODE_PORT_SUPPORT=true",
                "AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=false",
                "AWS_VPC_K8S_CNI_EXTERNALSNAT=false",
                "AWS_VPC_K8S_CNI_LOG_FILE=/host/var/log/aws-routed-eni/ipamd.log",
                "AWS_VPC_K8S_PLUGIN_LOG_FILE=/var/log/aws-routed-eni/plugin.log",
                "AWS_VPC_K8S_PLUGIN_LOG_LEVEL=DEBUG",
                "DISABLE_INTROSPECTION=false",
                "MY_NODE_NAME=ip-192-168-31-214.ec2.internal",
                "AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER=false",
                "WARM_PREFIX_TARGET=1",
                "KUBERNETES_SERVICE_HOST=10.100.0.1",
                "KUBERNETES_PORT_443_TCP_PORT=443",
                "KUBE_DNS_SERVICE_HOST=10.100.0.10",
                "KUBE_DNS_SERVICE_PORT=53",
                "KUBE_DNS_PORT_53_UDP_PROTO=udp",
                "KUBE_DNS_PORT_53_UDP_ADDR=10.100.0.10",
                "KUBE_DNS_PORT_53_TCP_PORT=53",
                "KUBE_DNS_PORT_53_TCP_ADDR=10.100.0.10",
                "KUBERNETES_SERVICE_PORT=443",
                "KUBERNETES_SERVICE_PORT_HTTPS=443",
                "KUBERNETES_PORT_443_TCP_ADDR=10.100.0.1",
                "KUBE_DNS_SERVICE_PORT_DNS=53",
                "KUBE_DNS_SERVICE_PORT_DNS_TCP=53",
                "KUBE_DNS_PORT=udp://10.100.0.10:53",
                "KUBE_DNS_PORT_53_TCP_PROTO=tcp",
                "KUBE_DNS_PORT_53_UDP=udp://10.100.0.10:53",
                "KUBERNETES_PORT=tcp://10.100.0.1:443",
                "KUBERNETES_PORT_443_TCP=tcp://10.100.0.1:443",
                "KUBERNETES_PORT_443_TCP_PROTO=tcp",
                "KUBE_DNS_PORT_53_UDP_PORT=53",
                "KUBE_DNS_PORT_53_TCP=tcp://10.100.0.10:53",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "NONE"
                ]
            },
            "Image": "602401143452.dkr.ecr.us-east-1.amazonaws.com/amazon-k8s-cni@sha256:19dacc4b46485c85ddfbee3545d34948bad08ce318c0fa997541546786aa7bc4",
            "Volumes": null,
            "WorkingDir": "/app",
            "Entrypoint": [
                "/app/entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": ...
        },
        "NetworkSettings": ...
    }
]

When troubleshooting with Amazon VPC CNI, it is very depends on how Envs
pass into container, if we could get Envs that would be helpful.

```
    Environment:
      ADDITIONAL_ENI_TAGS:                    {}
      AWS_VPC_CNI_NODE_PORT_SUPPORT:          true
      AWS_VPC_ENI_MTU:                        9001
      AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG:     false
      AWS_VPC_K8S_CNI_EXTERNALSNAT:           false
      AWS_VPC_K8S_CNI_LOGLEVEL:               DEBUG
      AWS_VPC_K8S_CNI_LOG_FILE:               /host/var/log/aws-routed-eni/ipamd.log
      AWS_VPC_K8S_CNI_RANDOMIZESNAT:          prng
      AWS_VPC_K8S_CNI_VETHPREFIX:             eni
      AWS_VPC_K8S_PLUGIN_LOG_FILE:            /var/log/aws-routed-eni/plugin.log
      AWS_VPC_K8S_PLUGIN_LOG_LEVEL:           DEBUG
      DISABLE_INTROSPECTION:                  false
      DISABLE_METRICS:                        false
      DISABLE_NETWORK_RESOURCE_PROVISIONING:  false
      ENABLE_IPv4:                            true
      ENABLE_IPv6:                            false
      ENABLE_POD_ENI:                         false
      ENABLE_PREFIX_DELEGATION:               false
      WARM_ENI_TARGET:                        1
      WARM_PREFIX_TARGET:                     1
      MY_NODE_NAME:                            (v1:spec.nodeName)
```

besides from these, with detailed info output, we can also tell if
aws-node is running with a Service Account, and if IRSA is properly
conofigured, which should benifits a lot for troubleshooting.
@guessi
Copy link
Member Author

guessi commented Jun 14, 2023

@cartermckinnon Could you please spare some time to review this change, thanks!

@cartermckinnon
Copy link
Member

What does the output from Docker look like?

# "ctr --namespace k8s.io container list" will return two containers
# - amazon-k8s-cni:v1.xx.yy
# - amazon-k8s-cni-init:v1.xx.yy
timeout 75 ctr --namespace k8s.io container list | awk '/amazon-k8s-cni:v/{print$1}' | xargs -n 1 ctr --namespace k8s.io container info > "${COLLECT_DIR}"/cni/cni-configuration-variables-containerd.json 2>&1 || echo -e "\tTimed out, ignoring \"cni configuration variables output \" "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the Timed out case is what happens when there is no CNI container running?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is no CNI running, awk and xargs magic should not work and the output should be empty.

There should have no timeout case here? To me, it's more likely to be a safe check to ensure the script will eventually be ended.

@guessi
Copy link
Member Author

guessi commented Jun 15, 2023

docker would have similar output, I will post here later.

@guessi
Copy link
Member Author

guessi commented Jun 15, 2023

Just updated command output for docker

@cartermckinnon cartermckinnon merged commit dbf0d15 into awslabs:master Oct 20, 2023
@guessi guessi deleted the improve-eks-log-collector branch October 21, 2023 08:16
MudlaffP added a commit to AdvMicrogrid/amazon-eks-ami that referenced this pull request Dec 6, 2023
* Update CHANGELOG.md for v20230703 AMI release (awslabs#1337)

* Update CHANGELOG.md for v20230703 AMI release

* Update CHANGELOG.md

Co-authored-by: Carter <mckdev@amazon.com>

* Update CHANGELOG.md

---------

Co-authored-by: Carter <mckdev@amazon.com>

* Update CHANGELOG.md (awslabs#1338)

* Add logging for aws managed csi drivers (awslabs#1336)

* Update CHANGELOG.md latest AMI release notes to highlight this was last 1.22 AMI (awslabs#1342)

* Removing 1.22 from Makefile (awslabs#1343)

* Generate version info for cached images only when  is active (awslabs#1341)

* Remove region names from us-iso/us-isob credential provider config (awslabs#1344)

* Amazon Linux 2023 proof-of-concept (awslabs#1340)

* Remove hardcoded pull_cni_from_github var (awslabs#1346)

* Remove sonobuoy_e2e_registry (awslabs#1249)

* Revert "avoid hard coding provisioner index array" (awslabs#1347)

This reverts commit 6c16765.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Update sync-eni-max-pods.yaml role ARN (awslabs#1350)

* Add CodeCommit sync action (awslabs#1351)

* update core CNI plugins version (awslabs#1308)

* Update internal build config (awslabs#1353)

* Update binary references (awslabs#1355)

* Update CHANGELOG.md for 20230711 AMI release (awslabs#1357)

* Enable discard_unpacked_layers by default (awslabs#1360)

* Mount bpffs on all supported Kubernetes versions (awslabs#1349)

* Cleanup /var/log/audit (awslabs#1363)

* Use GitHub bot user as committer/author (awslabs#1366)

* Update eni-max-pods.txt (awslabs#1365)

* Update CHANGELOG.md for 20230728 AMI release (awslabs#1371)

* Update eni-max-pods.txt (awslabs#1373)

Co-authored-by: GitHub <noreply@github.com>

* Install latest amazon-ssm-agent from S3 (awslabs#1370)

* Do not set KubeletCredentialProviders feature flag for 1.28+ (awslabs#1375)

* Fix bug in var doc gen (awslabs#1378)

* Generate docs for GitHub Pages (awslabs#1379)

* Add write permissions to deploy-docs workflow (awslabs#1381)

* Force-push docs to gh-pages (awslabs#1382)

* Cache IMDS tokens per-user (awslabs#1386)

* Install latest runc 1.1.* (awslabs#1384)

* Update eni-max-pods.txt (awslabs#1388)

* Update binary build dates (awslabs#1390)

* Fetch new IMDS token for every request (awslabs#1395)

* Update CHANGELOG for v20230816 (awslabs#1396)

* Update eni-max-pods.txt (awslabs#1397)

* Update Makefile with latest binaries (awslabs#1403)

* Add CI bot (awslabs#1402)

* Disable janitor in forks (awslabs#1407)

* Add note about bot authorization (awslabs#1406)

* noproxy for direct communication to apiserver and timeouts of 3 seconds (awslabs#1393)

* Update CHANGELOG.md for 20230825 AMI release (awslabs#1408)

* Update CHANGELOG.md for 20230825 AMI release

---------

Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>

* Allow --reserved-cpus kubelet arg to be used (awslabs#1405)

* Install kernel-headers, kernel-devel (awslabs#1302)

* Handle eventually-consistent PrivateDnsName (awslabs#1383)

* Add .git-commit to archivebuild (awslabs#1411)

* Use archivebuild-wrapper system (awslabs#1413)

* Discover .git-commit from environment (awslabs#1418)

* Update eni-max-pods.txt (awslabs#1423)

Co-authored-by: GitHub <noreply@github.com>

* Update eni-max-pods.txt (awslabs#1424)

Co-authored-by: GitHub <noreply@github.com>

* Require builder instance to use IMDSv2 (awslabs#1422)

* Add release note config (awslabs#1426)

* Update eni-max-pods.txt (awslabs#1429)

Co-authored-by: GitHub <noreply@github.com>

* Use 2023-09-14 binaries, add 1.28 target (awslabs#1431)

* Update eni-max-pods.txt (awslabs#1432)

Co-authored-by: GitHub <noreply@github.com>

* Set pid_max to 4194304 (awslabs#1434)

* Install nerdctl (awslabs#1321)

* Update CHANGELOG.md for 20230919 AMI release (awslabs#1439)

* Update CHANGELOG.md for 20230919 AMI release

Co-authored-by: Carter <cartermckinnon@gmail.com>

---------

Co-authored-by: Carter <cartermckinnon@gmail.com>

* bump latest Kubernetes build target version (awslabs#1440)

* fix: Tag cached image with the ECR URI for the target region (awslabs#1442)

* Add H100 into gpu clock (awslabs#1447)

* bug: incorrect region variable name (awslabs#1449)

Co-authored-by: ljosyula <ljosyula@amazon.com>

* Update eni-max-pods.txt (awslabs#1452)

Co-authored-by: GitHub <noreply@github.com>

* Update CHANGELOG.md for 20231002 AMI release (awslabs#1456)

Co-authored-by: ljosyula <ljosyula@amazon.com>

* Build with latest binaries by default (awslabs#1391)

* Fix region in cached image names (awslabs#1461)

* Add 1.28 to CI (awslabs#1464)

* Add optional FIPS support (awslabs#1458)

* Set remote_folder on all shell provisioners (awslabs#1462)

* Pull eksctl supported versions for CI (awslabs#1465)

* remove kubernetes versions file and use eksctl supported version list

* recognize compression

Co-authored-by: Carter <cartermckinnon@gmail.com>

---------

Co-authored-by: Carter <cartermckinnon@gmail.com>

* Add CHANGELOG entry placeholder (awslabs#1466)

* Add named arguments to bot commands (awslabs#1463)

* get-ecr-uri.sh falls back to use another region in partition if region unconfigured (awslabs#1468)

* Force delete CI clusters, don't wait for pod eviction (awslabs#1472)

* Add CHANGELOG workflow for new releases (awslabs#1467)

* Allow more flexible kernel_version (awslabs#1469)

* Add r7i to eni-max-pods.txt (awslabs#1473)

Co-authored-by: GitHub <noreply@github.com>

* Fix containerd slice configuration (awslabs#1437)

* Correctly tag cached images for us-gov-west-1 FIPS endpoint (awslabs#1476)

* Lint space errors (awslabs#1121)

* Ignore commit to address space errors (awslabs#1478)

* Collect more info about Amazon VPC CNI (awslabs#1245)

* Update eni-max-pods.txt (awslabs#1485)

Co-authored-by: GitHub <noreply@github.com>

* Fail fast if we cannot determine kubelet version (awslabs#1484)

kubelet is likely to fail when there is a mismatch with GLIBC that is in
the image vs the one golang uses to build the kubelet. So fail the image
right away when this happens as this specific kubelet binary will NOT work
in any instance started with this image.
```
2023-10-25T10:11:38-04:00:     amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by kubelet)
2023-10-25T10:11:38-04:00:     amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by kubelet)
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Persist CI version-info.json as artifact (awslabs#1493)

* Add new i4i sizes to eni-max-pods.txt (awslabs#1495)

Co-authored-by: GitHub <noreply@github.com>

* Update eni-max-pods.txt (awslabs#1497)

Co-authored-by: GitHub <noreply@github.com>

* Drop the FIPS related provisioners for al2023 (awslabs#1499)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Set nerdctl default namespace to k8s.io (awslabs#1488)

* Update CHANGELOG.md for release v20231027 (awslabs#1502)

Co-authored-by: GitHub <noreply@github.com>

* Skip installing amazon-ssm-agent if already present (awslabs#1501)

* Exclude automated eni-max-pods.txt PR's from release notes (awslabs#1498)

* Remove extraneous space character (awslabs#1505)

* Update CHANGELOG.md (awslabs#1507)

* Update CHANGELOG.md to fix docker version (awslabs#1511)

* Update docker to the latest 20.10 version (awslabs#1510)

* Changelog entry format tweaks (awslabs#1508)

* Document how to collect UserData (awslabs#1504)

* Update Fluence changelog

* Update what kubernetes ami will be build

---------

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Xavier Ryan <108886506+xr1776@users.noreply.github.com>
Co-authored-by: Carter <mckdev@amazon.com>
Co-authored-by: jacobwolfaws <113703057+jacobwolfaws@users.noreply.github.com>
Co-authored-by: Prasad Shende <prasad0896@users.noreply.github.com>
Co-authored-by: camrakin <113552683+camrakin@users.noreply.github.com>
Co-authored-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Jeffrey Nelson <jdnelson@amazon.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sichaow <sichaow@amazon.com>
Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Vincent Marguerie <24724195+vincentmrg@users.noreply.github.com>
Co-authored-by: Andrew Johnstone <andrew@ajohnstone.com>
Co-authored-by: Vela WU <50354807+wwvela@users.noreply.github.com>
Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>
Co-authored-by: Raghvendra Singh <90425886+raghs-aws@users.noreply.github.com>
Co-authored-by: Matthew Wong <mattwon@amazon.com>
Co-authored-by: Nick Baker <ndbaker1@outlook.com>
Co-authored-by: ddl-retornam <56278673+ddl-retornam@users.noreply.github.com>
Co-authored-by: Carter <cartermckinnon@gmail.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Co-authored-by: Laxmi Soumya Josyula <42261978+ljosyula@users.noreply.github.com>
Co-authored-by: ljosyula <ljosyula@amazon.com>
Co-authored-by: Alex Schultz <aschultz@clumio.com>
Co-authored-by: Julien Baladier <julienbaladier@users.noreply.github.com>
Co-authored-by: Matt <merkes@amazon.com>
Co-authored-by: Zoltán Reegn <zoltan.reegn@gmail.com>
Co-authored-by: donovanrost <donovan.rost@gmail.com>
Co-authored-by: guessi <guessi@gmail.com>
Co-authored-by: pjaudiomv <34245618+pjaudiomv@users.noreply.github.com>
Co-authored-by: Edmond Ceausu <eceausu@amazon.com>
MudlaffP added a commit to AdvMicrogrid/amazon-eks-ami that referenced this pull request Jan 4, 2024
* Update CHANGELOG.md for v20230703 AMI release (awslabs#1337)

* Update CHANGELOG.md for v20230703 AMI release

* Update CHANGELOG.md

Co-authored-by: Carter <mckdev@amazon.com>

* Update CHANGELOG.md

---------

Co-authored-by: Carter <mckdev@amazon.com>

* Update CHANGELOG.md (awslabs#1338)

* Add logging for aws managed csi drivers (awslabs#1336)

* Update CHANGELOG.md latest AMI release notes to highlight this was last 1.22 AMI (awslabs#1342)

* Removing 1.22 from Makefile (awslabs#1343)

* Generate version info for cached images only when  is active (awslabs#1341)

* Remove region names from us-iso/us-isob credential provider config (awslabs#1344)

* Amazon Linux 2023 proof-of-concept (awslabs#1340)

* Remove hardcoded pull_cni_from_github var (awslabs#1346)

* Remove sonobuoy_e2e_registry (awslabs#1249)

* Revert "avoid hard coding provisioner index array" (awslabs#1347)

This reverts commit 6c16765.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Update sync-eni-max-pods.yaml role ARN (awslabs#1350)

* Add CodeCommit sync action (awslabs#1351)

* update core CNI plugins version (awslabs#1308)

* Update internal build config (awslabs#1353)

* Update binary references (awslabs#1355)

* Update CHANGELOG.md for 20230711 AMI release (awslabs#1357)

* Enable discard_unpacked_layers by default (awslabs#1360)

* Mount bpffs on all supported Kubernetes versions (awslabs#1349)

* Cleanup /var/log/audit (awslabs#1363)

* Use GitHub bot user as committer/author (awslabs#1366)

* Update eni-max-pods.txt (awslabs#1365)

* Update CHANGELOG.md for 20230728 AMI release (awslabs#1371)

* Update eni-max-pods.txt (awslabs#1373)

Co-authored-by: GitHub <noreply@github.com>

* Install latest amazon-ssm-agent from S3 (awslabs#1370)

* Do not set KubeletCredentialProviders feature flag for 1.28+ (awslabs#1375)

* Fix bug in var doc gen (awslabs#1378)

* Generate docs for GitHub Pages (awslabs#1379)

* Add write permissions to deploy-docs workflow (awslabs#1381)

* Force-push docs to gh-pages (awslabs#1382)

* Cache IMDS tokens per-user (awslabs#1386)

* Install latest runc 1.1.* (awslabs#1384)

* Update eni-max-pods.txt (awslabs#1388)

* Update binary build dates (awslabs#1390)

* Fetch new IMDS token for every request (awslabs#1395)

* Update CHANGELOG for v20230816 (awslabs#1396)

* Update eni-max-pods.txt (awslabs#1397)

* Update Makefile with latest binaries (awslabs#1403)

* Add CI bot (awslabs#1402)

* Disable janitor in forks (awslabs#1407)

* Add note about bot authorization (awslabs#1406)

* noproxy for direct communication to apiserver and timeouts of 3 seconds (awslabs#1393)

* Update CHANGELOG.md for 20230825 AMI release (awslabs#1408)

* Update CHANGELOG.md for 20230825 AMI release

---------

Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>

* Allow --reserved-cpus kubelet arg to be used (awslabs#1405)

* Install kernel-headers, kernel-devel (awslabs#1302)

* Handle eventually-consistent PrivateDnsName (awslabs#1383)

* Add .git-commit to archivebuild (awslabs#1411)

* Use archivebuild-wrapper system (awslabs#1413)

* Discover .git-commit from environment (awslabs#1418)

* Update eni-max-pods.txt (awslabs#1423)

Co-authored-by: GitHub <noreply@github.com>

* Update eni-max-pods.txt (awslabs#1424)

Co-authored-by: GitHub <noreply@github.com>

* Require builder instance to use IMDSv2 (awslabs#1422)

* Add release note config (awslabs#1426)

* Update eni-max-pods.txt (awslabs#1429)

Co-authored-by: GitHub <noreply@github.com>

* Use 2023-09-14 binaries, add 1.28 target (awslabs#1431)

* Update eni-max-pods.txt (awslabs#1432)

Co-authored-by: GitHub <noreply@github.com>

* Set pid_max to 4194304 (awslabs#1434)

* Install nerdctl (awslabs#1321)

* Update CHANGELOG.md for 20230919 AMI release (awslabs#1439)

* Update CHANGELOG.md for 20230919 AMI release

Co-authored-by: Carter <cartermckinnon@gmail.com>

---------

Co-authored-by: Carter <cartermckinnon@gmail.com>

* bump latest Kubernetes build target version (awslabs#1440)

* fix: Tag cached image with the ECR URI for the target region (awslabs#1442)

* Add H100 into gpu clock (awslabs#1447)

* bug: incorrect region variable name (awslabs#1449)

Co-authored-by: ljosyula <ljosyula@amazon.com>

* Update eni-max-pods.txt (awslabs#1452)

Co-authored-by: GitHub <noreply@github.com>

* Update CHANGELOG.md for 20231002 AMI release (awslabs#1456)

Co-authored-by: ljosyula <ljosyula@amazon.com>

* Build with latest binaries by default (awslabs#1391)

* Fix region in cached image names (awslabs#1461)

* Add 1.28 to CI (awslabs#1464)

* Add optional FIPS support (awslabs#1458)

* Set remote_folder on all shell provisioners (awslabs#1462)

* Pull eksctl supported versions for CI (awslabs#1465)

* remove kubernetes versions file and use eksctl supported version list

* recognize compression

Co-authored-by: Carter <cartermckinnon@gmail.com>

---------

Co-authored-by: Carter <cartermckinnon@gmail.com>

* Add CHANGELOG entry placeholder (awslabs#1466)

* Add named arguments to bot commands (awslabs#1463)

* get-ecr-uri.sh falls back to use another region in partition if region unconfigured (awslabs#1468)

* Force delete CI clusters, don't wait for pod eviction (awslabs#1472)

* Add CHANGELOG workflow for new releases (awslabs#1467)

* Allow more flexible kernel_version (awslabs#1469)

* Add r7i to eni-max-pods.txt (awslabs#1473)

Co-authored-by: GitHub <noreply@github.com>

* Fix containerd slice configuration (awslabs#1437)

* Correctly tag cached images for us-gov-west-1 FIPS endpoint (awslabs#1476)

* Lint space errors (awslabs#1121)

* Ignore commit to address space errors (awslabs#1478)

* Collect more info about Amazon VPC CNI (awslabs#1245)

* Update eni-max-pods.txt (awslabs#1485)

Co-authored-by: GitHub <noreply@github.com>

* Fail fast if we cannot determine kubelet version (awslabs#1484)

kubelet is likely to fail when there is a mismatch with GLIBC that is in
the image vs the one golang uses to build the kubelet. So fail the image
right away when this happens as this specific kubelet binary will NOT work
in any instance started with this image.
```
2023-10-25T10:11:38-04:00:     amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by kubelet)
2023-10-25T10:11:38-04:00:     amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by kubelet)
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Persist CI version-info.json as artifact (awslabs#1493)

* Add new i4i sizes to eni-max-pods.txt (awslabs#1495)

Co-authored-by: GitHub <noreply@github.com>

* Update eni-max-pods.txt (awslabs#1497)

Co-authored-by: GitHub <noreply@github.com>

* Drop the FIPS related provisioners for al2023 (awslabs#1499)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Set nerdctl default namespace to k8s.io (awslabs#1488)

* Update CHANGELOG.md for release v20231027 (awslabs#1502)

Co-authored-by: GitHub <noreply@github.com>

* Skip installing amazon-ssm-agent if already present (awslabs#1501)

* Exclude automated eni-max-pods.txt PR's from release notes (awslabs#1498)

* Remove extraneous space character (awslabs#1505)

* Update CHANGELOG.md (awslabs#1507)

* Update CHANGELOG.md to fix docker version (awslabs#1511)

* Update docker to the latest 20.10 version (awslabs#1510)

* Changelog entry format tweaks (awslabs#1508)

* Document how to collect UserData (awslabs#1504)

* Update eni-max-pods.txt (awslabs#1518)

Co-authored-by: GitHub <noreply@github.com>

* Update CHANGELOG.md for release v20231116 (awslabs#1521)

Co-authored-by: GitHub <noreply@github.com>

* Add check for ecr-fips endpoint availability (awslabs#1524)

* Miscellaneous fixes from AL2023 testing (awslabs#1528)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* fix Permission denied for 99-default.link (awslabs#1529)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Install SSM agent from AL core repo by default (awslabs#1531)

* Update to `containerd` 1.7 (awslabs#1516)

* Capture logs for EKS Pod Identity Agent (awslabs#1533)

* change how aws cli is installed

* Update CHANGELOG.md for release v20231201 (awslabs#1538)

Co-authored-by: GitHub <noreply@github.com>

* AL2023 networking changes for VPC CNI compatibility (awslabs#1539)

* Set containerd LimitNOFILE to recommended value (awslabs#1535)

* fix networkd settings (awslabs#1540)

* Update get-ecr-uri.sh with ca-west-1 account (awslabs#1542)

* Install amazon packer plugin for CI (awslabs#1545)

* Fix flag typo in logging (awslabs#1547)

* Update CHANGELOG.md for release v20231220 (awslabs#1550)

Co-authored-by: GitHub <noreply@github.com>

* Revert "Set containerd LimitNOFILE to recommended value (awslabs#1535)" (awslabs#1552)

This reverts commit e098953.

* set ssm_agent_version after updating from upstream

* Uncomment filtering for circle ci config

---------

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Xavier Ryan <108886506+xr1776@users.noreply.github.com>
Co-authored-by: Carter <mckdev@amazon.com>
Co-authored-by: jacobwolfaws <113703057+jacobwolfaws@users.noreply.github.com>
Co-authored-by: Prasad Shende <prasad0896@users.noreply.github.com>
Co-authored-by: camrakin <113552683+camrakin@users.noreply.github.com>
Co-authored-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Jeffrey Nelson <jdnelson@amazon.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sichaow <sichaow@amazon.com>
Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Vincent Marguerie <24724195+vincentmrg@users.noreply.github.com>
Co-authored-by: Andrew Johnstone <andrew@ajohnstone.com>
Co-authored-by: Vela WU <50354807+wwvela@users.noreply.github.com>
Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>
Co-authored-by: Raghvendra Singh <90425886+raghs-aws@users.noreply.github.com>
Co-authored-by: Matthew Wong <mattwon@amazon.com>
Co-authored-by: Nick Baker <ndbaker1@outlook.com>
Co-authored-by: ddl-retornam <56278673+ddl-retornam@users.noreply.github.com>
Co-authored-by: Carter <cartermckinnon@gmail.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Co-authored-by: Laxmi Soumya Josyula <42261978+ljosyula@users.noreply.github.com>
Co-authored-by: ljosyula <ljosyula@amazon.com>
Co-authored-by: Alex Schultz <aschultz@clumio.com>
Co-authored-by: Julien Baladier <julienbaladier@users.noreply.github.com>
Co-authored-by: Matt <merkes@amazon.com>
Co-authored-by: Zoltán Reegn <zoltan.reegn@gmail.com>
Co-authored-by: donovanrost <donovan.rost@gmail.com>
Co-authored-by: guessi <guessi@gmail.com>
Co-authored-by: pjaudiomv <34245618+pjaudiomv@users.noreply.github.com>
Co-authored-by: Edmond Ceausu <eceausu@amazon.com>
Co-authored-by: Joe North <joseph@jnorth.me>
Co-authored-by: Keto D. Zhang <keto.zhang@gmail.com>
MudlaffP added a commit to AdvMicrogrid/amazon-eks-ami that referenced this pull request Jan 4, 2024
* Merge with upstream v20231116 (#30)

* Update CHANGELOG.md for v20230703 AMI release (awslabs#1337)

* Update CHANGELOG.md for v20230703 AMI release

* Update CHANGELOG.md

Co-authored-by: Carter <mckdev@amazon.com>

* Update CHANGELOG.md

---------

Co-authored-by: Carter <mckdev@amazon.com>

* Update CHANGELOG.md (awslabs#1338)

* Add logging for aws managed csi drivers (awslabs#1336)

* Update CHANGELOG.md latest AMI release notes to highlight this was last 1.22 AMI (awslabs#1342)

* Removing 1.22 from Makefile (awslabs#1343)

* Generate version info for cached images only when  is active (awslabs#1341)

* Remove region names from us-iso/us-isob credential provider config (awslabs#1344)

* Amazon Linux 2023 proof-of-concept (awslabs#1340)

* Remove hardcoded pull_cni_from_github var (awslabs#1346)

* Remove sonobuoy_e2e_registry (awslabs#1249)

* Revert "avoid hard coding provisioner index array" (awslabs#1347)

This reverts commit 6c16765.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Update sync-eni-max-pods.yaml role ARN (awslabs#1350)

* Add CodeCommit sync action (awslabs#1351)

* update core CNI plugins version (awslabs#1308)

* Update internal build config (awslabs#1353)

* Update binary references (awslabs#1355)

* Update CHANGELOG.md for 20230711 AMI release (awslabs#1357)

* Enable discard_unpacked_layers by default (awslabs#1360)

* Mount bpffs on all supported Kubernetes versions (awslabs#1349)

* Cleanup /var/log/audit (awslabs#1363)

* Use GitHub bot user as committer/author (awslabs#1366)

* Update eni-max-pods.txt (awslabs#1365)

* Update CHANGELOG.md for 20230728 AMI release (awslabs#1371)

* Update eni-max-pods.txt (awslabs#1373)

Co-authored-by: GitHub <noreply@github.com>

* Install latest amazon-ssm-agent from S3 (awslabs#1370)

* Do not set KubeletCredentialProviders feature flag for 1.28+ (awslabs#1375)

* Fix bug in var doc gen (awslabs#1378)

* Generate docs for GitHub Pages (awslabs#1379)

* Add write permissions to deploy-docs workflow (awslabs#1381)

* Force-push docs to gh-pages (awslabs#1382)

* Cache IMDS tokens per-user (awslabs#1386)

* Install latest runc 1.1.* (awslabs#1384)

* Update eni-max-pods.txt (awslabs#1388)

* Update binary build dates (awslabs#1390)

* Fetch new IMDS token for every request (awslabs#1395)

* Update CHANGELOG for v20230816 (awslabs#1396)

* Update eni-max-pods.txt (awslabs#1397)

* Update Makefile with latest binaries (awslabs#1403)

* Add CI bot (awslabs#1402)

* Disable janitor in forks (awslabs#1407)

* Add note about bot authorization (awslabs#1406)

* noproxy for direct communication to apiserver and timeouts of 3 seconds (awslabs#1393)

* Update CHANGELOG.md for 20230825 AMI release (awslabs#1408)

* Update CHANGELOG.md for 20230825 AMI release

---------

Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>

* Allow --reserved-cpus kubelet arg to be used (awslabs#1405)

* Install kernel-headers, kernel-devel (awslabs#1302)

* Handle eventually-consistent PrivateDnsName (awslabs#1383)

* Add .git-commit to archivebuild (awslabs#1411)

* Use archivebuild-wrapper system (awslabs#1413)

* Discover .git-commit from environment (awslabs#1418)

* Update eni-max-pods.txt (awslabs#1423)

Co-authored-by: GitHub <noreply@github.com>

* Update eni-max-pods.txt (awslabs#1424)

Co-authored-by: GitHub <noreply@github.com>

* Require builder instance to use IMDSv2 (awslabs#1422)

* Add release note config (awslabs#1426)

* Update eni-max-pods.txt (awslabs#1429)

Co-authored-by: GitHub <noreply@github.com>

* Use 2023-09-14 binaries, add 1.28 target (awslabs#1431)

* Update eni-max-pods.txt (awslabs#1432)

Co-authored-by: GitHub <noreply@github.com>

* Set pid_max to 4194304 (awslabs#1434)

* Install nerdctl (awslabs#1321)

* Update CHANGELOG.md for 20230919 AMI release (awslabs#1439)

* Update CHANGELOG.md for 20230919 AMI release

Co-authored-by: Carter <cartermckinnon@gmail.com>

---------

Co-authored-by: Carter <cartermckinnon@gmail.com>

* bump latest Kubernetes build target version (awslabs#1440)

* fix: Tag cached image with the ECR URI for the target region (awslabs#1442)

* Add H100 into gpu clock (awslabs#1447)

* bug: incorrect region variable name (awslabs#1449)

Co-authored-by: ljosyula <ljosyula@amazon.com>

* Update eni-max-pods.txt (awslabs#1452)

Co-authored-by: GitHub <noreply@github.com>

* Update CHANGELOG.md for 20231002 AMI release (awslabs#1456)

Co-authored-by: ljosyula <ljosyula@amazon.com>

* Build with latest binaries by default (awslabs#1391)

* Fix region in cached image names (awslabs#1461)

* Add 1.28 to CI (awslabs#1464)

* Add optional FIPS support (awslabs#1458)

* Set remote_folder on all shell provisioners (awslabs#1462)

* Pull eksctl supported versions for CI (awslabs#1465)

* remove kubernetes versions file and use eksctl supported version list

* recognize compression

Co-authored-by: Carter <cartermckinnon@gmail.com>

---------

Co-authored-by: Carter <cartermckinnon@gmail.com>

* Add CHANGELOG entry placeholder (awslabs#1466)

* Add named arguments to bot commands (awslabs#1463)

* get-ecr-uri.sh falls back to use another region in partition if region unconfigured (awslabs#1468)

* Force delete CI clusters, don't wait for pod eviction (awslabs#1472)

* Add CHANGELOG workflow for new releases (awslabs#1467)

* Allow more flexible kernel_version (awslabs#1469)

* Add r7i to eni-max-pods.txt (awslabs#1473)

Co-authored-by: GitHub <noreply@github.com>

* Fix containerd slice configuration (awslabs#1437)

* Correctly tag cached images for us-gov-west-1 FIPS endpoint (awslabs#1476)

* Lint space errors (awslabs#1121)

* Ignore commit to address space errors (awslabs#1478)

* Collect more info about Amazon VPC CNI (awslabs#1245)

* Update eni-max-pods.txt (awslabs#1485)

Co-authored-by: GitHub <noreply@github.com>

* Fail fast if we cannot determine kubelet version (awslabs#1484)

kubelet is likely to fail when there is a mismatch with GLIBC that is in
the image vs the one golang uses to build the kubelet. So fail the image
right away when this happens as this specific kubelet binary will NOT work
in any instance started with this image.
```
2023-10-25T10:11:38-04:00:     amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by kubelet)
2023-10-25T10:11:38-04:00:     amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by kubelet)
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Persist CI version-info.json as artifact (awslabs#1493)

* Add new i4i sizes to eni-max-pods.txt (awslabs#1495)

Co-authored-by: GitHub <noreply@github.com>

* Update eni-max-pods.txt (awslabs#1497)

Co-authored-by: GitHub <noreply@github.com>

* Drop the FIPS related provisioners for al2023 (awslabs#1499)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Set nerdctl default namespace to k8s.io (awslabs#1488)

* Update CHANGELOG.md for release v20231027 (awslabs#1502)

Co-authored-by: GitHub <noreply@github.com>

* Skip installing amazon-ssm-agent if already present (awslabs#1501)

* Exclude automated eni-max-pods.txt PR's from release notes (awslabs#1498)

* Remove extraneous space character (awslabs#1505)

* Update CHANGELOG.md (awslabs#1507)

* Update CHANGELOG.md to fix docker version (awslabs#1511)

* Update docker to the latest 20.10 version (awslabs#1510)

* Changelog entry format tweaks (awslabs#1508)

* Document how to collect UserData (awslabs#1504)

* Update Fluence changelog

* Update what kubernetes ami will be build

---------

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Xavier Ryan <108886506+xr1776@users.noreply.github.com>
Co-authored-by: Carter <mckdev@amazon.com>
Co-authored-by: jacobwolfaws <113703057+jacobwolfaws@users.noreply.github.com>
Co-authored-by: Prasad Shende <prasad0896@users.noreply.github.com>
Co-authored-by: camrakin <113552683+camrakin@users.noreply.github.com>
Co-authored-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Jeffrey Nelson <jdnelson@amazon.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sichaow <sichaow@amazon.com>
Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Vincent Marguerie <24724195+vincentmrg@users.noreply.github.com>
Co-authored-by: Andrew Johnstone <andrew@ajohnstone.com>
Co-authored-by: Vela WU <50354807+wwvela@users.noreply.github.com>
Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>
Co-authored-by: Raghvendra Singh <90425886+raghs-aws@users.noreply.github.com>
Co-authored-by: Matthew Wong <mattwon@amazon.com>
Co-authored-by: Nick Baker <ndbaker1@outlook.com>
Co-authored-by: ddl-retornam <56278673+ddl-retornam@users.noreply.github.com>
Co-authored-by: Carter <cartermckinnon@gmail.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Co-authored-by: Laxmi Soumya Josyula <42261978+ljosyula@users.noreply.github.com>
Co-authored-by: ljosyula <ljosyula@amazon.com>
Co-authored-by: Alex Schultz <aschultz@clumio.com>
Co-authored-by: Julien Baladier <julienbaladier@users.noreply.github.com>
Co-authored-by: Matt <merkes@amazon.com>
Co-authored-by: Zoltán Reegn <zoltan.reegn@gmail.com>
Co-authored-by: donovanrost <donovan.rost@gmail.com>
Co-authored-by: guessi <guessi@gmail.com>
Co-authored-by: pjaudiomv <34245618+pjaudiomv@users.noreply.github.com>
Co-authored-by: Edmond Ceausu <eceausu@amazon.com>

* Add awscli to build step (#31)

* Update CHANGELOG.md for v20230703 AMI release (awslabs#1337)

* Update CHANGELOG.md for v20230703 AMI release

* Update CHANGELOG.md

Co-authored-by: Carter <mckdev@amazon.com>

* Update CHANGELOG.md

---------

Co-authored-by: Carter <mckdev@amazon.com>

* Update CHANGELOG.md (awslabs#1338)

* Add logging for aws managed csi drivers (awslabs#1336)

* Update CHANGELOG.md latest AMI release notes to highlight this was last 1.22 AMI (awslabs#1342)

* Removing 1.22 from Makefile (awslabs#1343)

* Generate version info for cached images only when  is active (awslabs#1341)

* Remove region names from us-iso/us-isob credential provider config (awslabs#1344)

* Amazon Linux 2023 proof-of-concept (awslabs#1340)

* Remove hardcoded pull_cni_from_github var (awslabs#1346)

* Remove sonobuoy_e2e_registry (awslabs#1249)

* Revert "avoid hard coding provisioner index array" (awslabs#1347)

This reverts commit 6c16765.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Update sync-eni-max-pods.yaml role ARN (awslabs#1350)

* Add CodeCommit sync action (awslabs#1351)

* update core CNI plugins version (awslabs#1308)

* Update internal build config (awslabs#1353)

* Update binary references (awslabs#1355)

* Update CHANGELOG.md for 20230711 AMI release (awslabs#1357)

* Enable discard_unpacked_layers by default (awslabs#1360)

* Mount bpffs on all supported Kubernetes versions (awslabs#1349)

* Cleanup /var/log/audit (awslabs#1363)

* Use GitHub bot user as committer/author (awslabs#1366)

* Update eni-max-pods.txt (awslabs#1365)

* Update CHANGELOG.md for 20230728 AMI release (awslabs#1371)

* Update eni-max-pods.txt (awslabs#1373)

Co-authored-by: GitHub <noreply@github.com>

* Install latest amazon-ssm-agent from S3 (awslabs#1370)

* Do not set KubeletCredentialProviders feature flag for 1.28+ (awslabs#1375)

* Fix bug in var doc gen (awslabs#1378)

* Generate docs for GitHub Pages (awslabs#1379)

* Add write permissions to deploy-docs workflow (awslabs#1381)

* Force-push docs to gh-pages (awslabs#1382)

* Cache IMDS tokens per-user (awslabs#1386)

* Install latest runc 1.1.* (awslabs#1384)

* Update eni-max-pods.txt (awslabs#1388)

* Update binary build dates (awslabs#1390)

* Fetch new IMDS token for every request (awslabs#1395)

* Update CHANGELOG for v20230816 (awslabs#1396)

* Update eni-max-pods.txt (awslabs#1397)

* Update Makefile with latest binaries (awslabs#1403)

* Add CI bot (awslabs#1402)

* Disable janitor in forks (awslabs#1407)

* Add note about bot authorization (awslabs#1406)

* noproxy for direct communication to apiserver and timeouts of 3 seconds (awslabs#1393)

* Update CHANGELOG.md for 20230825 AMI release (awslabs#1408)

* Update CHANGELOG.md for 20230825 AMI release

---------

Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>

* Allow --reserved-cpus kubelet arg to be used (awslabs#1405)

* Install kernel-headers, kernel-devel (awslabs#1302)

* Handle eventually-consistent PrivateDnsName (awslabs#1383)

* Add .git-commit to archivebuild (awslabs#1411)

* Use archivebuild-wrapper system (awslabs#1413)

* Discover .git-commit from environment (awslabs#1418)

* Update eni-max-pods.txt (awslabs#1423)

Co-authored-by: GitHub <noreply@github.com>

* Update eni-max-pods.txt (awslabs#1424)

Co-authored-by: GitHub <noreply@github.com>

* Require builder instance to use IMDSv2 (awslabs#1422)

* Add release note config (awslabs#1426)

* Update eni-max-pods.txt (awslabs#1429)

Co-authored-by: GitHub <noreply@github.com>

* Use 2023-09-14 binaries, add 1.28 target (awslabs#1431)

* Update eni-max-pods.txt (awslabs#1432)

Co-authored-by: GitHub <noreply@github.com>

* Set pid_max to 4194304 (awslabs#1434)

* Install nerdctl (awslabs#1321)

* Update CHANGELOG.md for 20230919 AMI release (awslabs#1439)

* Update CHANGELOG.md for 20230919 AMI release

Co-authored-by: Carter <cartermckinnon@gmail.com>

---------

Co-authored-by: Carter <cartermckinnon@gmail.com>

* bump latest Kubernetes build target version (awslabs#1440)

* fix: Tag cached image with the ECR URI for the target region (awslabs#1442)

* Add H100 into gpu clock (awslabs#1447)

* bug: incorrect region variable name (awslabs#1449)

Co-authored-by: ljosyula <ljosyula@amazon.com>

* Update eni-max-pods.txt (awslabs#1452)

Co-authored-by: GitHub <noreply@github.com>

* Update CHANGELOG.md for 20231002 AMI release (awslabs#1456)

Co-authored-by: ljosyula <ljosyula@amazon.com>

* Build with latest binaries by default (awslabs#1391)

* Fix region in cached image names (awslabs#1461)

* Add 1.28 to CI (awslabs#1464)

* Add optional FIPS support (awslabs#1458)

* Set remote_folder on all shell provisioners (awslabs#1462)

* Pull eksctl supported versions for CI (awslabs#1465)

* remove kubernetes versions file and use eksctl supported version list

* recognize compression

Co-authored-by: Carter <cartermckinnon@gmail.com>

---------

Co-authored-by: Carter <cartermckinnon@gmail.com>

* Add CHANGELOG entry placeholder (awslabs#1466)

* Add named arguments to bot commands (awslabs#1463)

* get-ecr-uri.sh falls back to use another region in partition if region unconfigured (awslabs#1468)

* Force delete CI clusters, don't wait for pod eviction (awslabs#1472)

* Add CHANGELOG workflow for new releases (awslabs#1467)

* Allow more flexible kernel_version (awslabs#1469)

* Add r7i to eni-max-pods.txt (awslabs#1473)

Co-authored-by: GitHub <noreply@github.com>

* Fix containerd slice configuration (awslabs#1437)

* Correctly tag cached images for us-gov-west-1 FIPS endpoint (awslabs#1476)

* Lint space errors (awslabs#1121)

* Ignore commit to address space errors (awslabs#1478)

* Collect more info about Amazon VPC CNI (awslabs#1245)

* Update eni-max-pods.txt (awslabs#1485)

Co-authored-by: GitHub <noreply@github.com>

* Fail fast if we cannot determine kubelet version (awslabs#1484)

kubelet is likely to fail when there is a mismatch with GLIBC that is in
the image vs the one golang uses to build the kubelet. So fail the image
right away when this happens as this specific kubelet binary will NOT work
in any instance started with this image.
```
2023-10-25T10:11:38-04:00:     amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by kubelet)
2023-10-25T10:11:38-04:00:     amazon-ebs: kubelet: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by kubelet)
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Persist CI version-info.json as artifact (awslabs#1493)

* Add new i4i sizes to eni-max-pods.txt (awslabs#1495)

Co-authored-by: GitHub <noreply@github.com>

* Update eni-max-pods.txt (awslabs#1497)

Co-authored-by: GitHub <noreply@github.com>

* Drop the FIPS related provisioners for al2023 (awslabs#1499)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Set nerdctl default namespace to k8s.io (awslabs#1488)

* Update CHANGELOG.md for release v20231027 (awslabs#1502)

Co-authored-by: GitHub <noreply@github.com>

* Skip installing amazon-ssm-agent if already present (awslabs#1501)

* Exclude automated eni-max-pods.txt PR's from release notes (awslabs#1498)

* Remove extraneous space character (awslabs#1505)

* Update CHANGELOG.md (awslabs#1507)

* Update CHANGELOG.md to fix docker version (awslabs#1511)

* Update docker to the latest 20.10 version (awslabs#1510)

* Changelog entry format tweaks (awslabs#1508)

* Document how to collect UserData (awslabs#1504)

* Update eni-max-pods.txt (awslabs#1518)

Co-authored-by: GitHub <noreply@github.com>

* Update CHANGELOG.md for release v20231116 (awslabs#1521)

Co-authored-by: GitHub <noreply@github.com>

* Add check for ecr-fips endpoint availability (awslabs#1524)

* Miscellaneous fixes from AL2023 testing (awslabs#1528)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* fix Permission denied for 99-default.link (awslabs#1529)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

* Install SSM agent from AL core repo by default (awslabs#1531)

* Update to `containerd` 1.7 (awslabs#1516)

* Capture logs for EKS Pod Identity Agent (awslabs#1533)

* change how aws cli is installed

* Update CHANGELOG.md for release v20231201 (awslabs#1538)

Co-authored-by: GitHub <noreply@github.com>

* AL2023 networking changes for VPC CNI compatibility (awslabs#1539)

* Set containerd LimitNOFILE to recommended value (awslabs#1535)

* fix networkd settings (awslabs#1540)

* Update get-ecr-uri.sh with ca-west-1 account (awslabs#1542)

* Install amazon packer plugin for CI (awslabs#1545)

* Fix flag typo in logging (awslabs#1547)

* Update CHANGELOG.md for release v20231220 (awslabs#1550)

Co-authored-by: GitHub <noreply@github.com>

* Revert "Set containerd LimitNOFILE to recommended value (awslabs#1535)" (awslabs#1552)

This reverts commit e098953.

* set ssm_agent_version after updating from upstream

* Uncomment filtering for circle ci config

---------

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Xavier Ryan <108886506+xr1776@users.noreply.github.com>
Co-authored-by: Carter <mckdev@amazon.com>
Co-authored-by: jacobwolfaws <113703057+jacobwolfaws@users.noreply.github.com>
Co-authored-by: Prasad Shende <prasad0896@users.noreply.github.com>
Co-authored-by: camrakin <113552683+camrakin@users.noreply.github.com>
Co-authored-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Jeffrey Nelson <jdnelson@amazon.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sichaow <sichaow@amazon.com>
Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Vincent Marguerie <24724195+vincentmrg@users.noreply.github.com>
Co-authored-by: Andrew Johnstone <andrew@ajohnstone.com>
Co-authored-by: Vela WU <50354807+wwvela@users.noreply.github.com>
Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>
Co-authored-by: Raghvendra Singh <90425886+raghs-aws@users.noreply.github.com>
Co-authored-by: Matthew Wong <mattwon@amazon.com>
Co-authored-by: Nick Baker <ndbaker1@outlook.com>
Co-authored-by: ddl-retornam <56278673+ddl-retornam@users.noreply.github.com>
Co-authored-by: Carter <cartermckinnon@gmail.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Co-authored-by: Laxmi Soumya Josyula <42261978+ljosyula@users.noreply.github.com>
Co-authored-by: ljosyula <ljosyula@amazon.com>
Co-authored-by: Alex Schultz <aschultz@clumio.com>
Co-authored-by: Julien Baladier <julienbaladier@users.noreply.github.com>
Co-authored-by: Matt <merkes@amazon.com>
Co-authored-by: Zoltán Reegn <zoltan.reegn@gmail.com>
Co-authored-by: donovanrost <donovan.rost@gmail.com>
Co-authored-by: guessi <guessi@gmail.com>
Co-authored-by: pjaudiomv <34245618+pjaudiomv@users.noreply.github.com>
Co-authored-by: Edmond Ceausu <eceausu@amazon.com>
Co-authored-by: Joe North <joseph@jnorth.me>
Co-authored-by: Keto D. Zhang <keto.zhang@gmail.com>

---------

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Xavier Ryan <108886506+xr1776@users.noreply.github.com>
Co-authored-by: Carter <mckdev@amazon.com>
Co-authored-by: jacobwolfaws <113703057+jacobwolfaws@users.noreply.github.com>
Co-authored-by: Prasad Shende <prasad0896@users.noreply.github.com>
Co-authored-by: camrakin <113552683+camrakin@users.noreply.github.com>
Co-authored-by: Davanum Srinivas <davanum@gmail.com>
Co-authored-by: Jeffrey Nelson <jdnelson@amazon.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sichaow <sichaow@amazon.com>
Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Vincent Marguerie <24724195+vincentmrg@users.noreply.github.com>
Co-authored-by: Andrew Johnstone <andrew@ajohnstone.com>
Co-authored-by: Vela WU <50354807+wwvela@users.noreply.github.com>
Co-authored-by: Vela WU <50354807+FerrelWallis@users.noreply.github.com>
Co-authored-by: Raghvendra Singh <90425886+raghs-aws@users.noreply.github.com>
Co-authored-by: Matthew Wong <mattwon@amazon.com>
Co-authored-by: Nick Baker <ndbaker1@outlook.com>
Co-authored-by: ddl-retornam <56278673+ddl-retornam@users.noreply.github.com>
Co-authored-by: Carter <cartermckinnon@gmail.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Co-authored-by: Laxmi Soumya Josyula <42261978+ljosyula@users.noreply.github.com>
Co-authored-by: ljosyula <ljosyula@amazon.com>
Co-authored-by: Alex Schultz <aschultz@clumio.com>
Co-authored-by: Julien Baladier <julienbaladier@users.noreply.github.com>
Co-authored-by: Matt <merkes@amazon.com>
Co-authored-by: Zoltán Reegn <zoltan.reegn@gmail.com>
Co-authored-by: donovanrost <donovan.rost@gmail.com>
Co-authored-by: guessi <guessi@gmail.com>
Co-authored-by: pjaudiomv <34245618+pjaudiomv@users.noreply.github.com>
Co-authored-by: Edmond Ceausu <eceausu@amazon.com>
Co-authored-by: Joe North <joseph@jnorth.me>
Co-authored-by: Keto D. Zhang <keto.zhang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants