Container Security supports protection on connected Amazon EKS and Amazon EKS Fargate containers.
Note
|
Procedure
- Go to .
- Select the Kubernetes node in the tree.
- Click Add Cluster.The Protect Cluster screen appears.
- Specify a unique name for the cluster to appear in the Container Inventory
table in the Cluster field.
Note
-
Cluster names must not contain spaces and only support alphanumeric characters, underscores (_), and periods (.).
-
You cannot modify the cluster name after creating the cluster.
-
- If you want to provide more details about the purpose of the cluster, use the Description field.
- If you want Container Security to send data to Cloud Posture and receive ASRM Risk Insights, select Map to cloud
account.
- In the drop-down, select AWS.
- In another browser tab, sign in to the AWS account that hosts the cluster.
- Search for and go to the Amazon Elastic Kubernetes Service settings in AWS.
- Click the cluster name you want to protect with Container Security.
- Click Overview and copy the ARN value for the cluster.
- Back in the Container Security Protect Cluster screen, paste the value in the ARN field.
- If you have already created a policy that you want to use to protect the
Kubernetes cluster, select the policy name from the
Policy drop-down.You can create a Kubernetes policy and assign the policy after connecting the cluster.
- To ensure that Container Security does not impact any of the following
Kubernetes management systems, select the systems in the Namespace
Exclusions drop-down.
-
Calico System
-
Istio System
-
Kube System
-
OpenShift
-
- If your cluster requires a proxy server, turn on Use
Proxy and configure the following settings:
-
Protocol: Select HTTP or SOCKS5.
-
Proxy address: Specify the IP address of the proxy server.
-
Port: Specify the port number of the proxy server.
-
Require authentication credentials: Select and specify the Account and Password of the proxy server.
-
- If you already know the type of security features you want to enable on the
cluster, turn on the desired features.
-
Runtime Security: Provides visibility into any activity of your running containers that violates a customizable set of rules.
-
Runtime Vulnerability Scanning: Provides visibility of operating system and open source code vulnerabilities that are part of containers running in clusters.
-
Runtime Malware Scanning: Provides detection of malware in your running containers, enabling you to identify and respond to malware threats introduced after deployment.
-
- Click Next.The Helm deployment script information appears on the screen.
- For users deploying Container Security protection the cluster for the first
time:
- If you are deploying protection to a Fargate container, select
Fargate environment to inject the following
code in the Helm script:
fargateInjector: enabled: true
Note
-
Before connecting an Amazon EKS Fargate pod, ensure that the container meets the necessary system requirements for EKS Fargate deployments.
-
For pure Amazon EKS Fargate environments, you may need to adjust your Fargate profile to allow the scheduling of pods in a non-default namespace (for example,
trendmicro-system
). See AWS documentation for more information on Fargate profiles.
-
- To define the configuration properties of Container Security in your
Kubernetes cluster, create a YAML file (for example:
overrides.yaml) and copy the contents of the
first input field to the file.
WARNING
The YAML file contains a unique API key required to connect the specified cluster to Container Security. The API key only appears one time and you should create a copy for future upgrades. Trend Micro cannot retrieve the API key again once you close the screen. - Copy the entire
helm install
script in the second input field and execute the Helm script on your cluster.Note
Modify the--values overrides.yaml \
parameter to use the relative path to the overrides.yaml you saved in the previous step.
- If you are deploying protection to a Fargate container, select
Fargate environment to inject the following
code in the Helm script:
- For users that are updating an existing deployment, copy the entire
helm get values --namespace trendmicro-system trendmicro | helm upgrade \
script in the last input field and execute the Helm script on your cluster.Note
In the future, you can upgrade the Helm deployment without overriding changes by using the Helm argument:--reuse-values
.