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

Commits on Apr 19, 2023

  1. Collect more info about Amazon VPC CNI

    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 committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    559e921 View commit details
    Browse the repository at this point in the history