Skip to content

Conversation

@anibal2222
Copy link

Issue #, if available: NA

Description of changes:

Starting on Kubernetes 1.31, Kubernetes uses the WebSocket protocol instead of SPDY for streaming. Following this transition, the subresources "pods/attach", "pods/exec", "pods/portforward", "pods/proxy" and "nodes/proxy" were accessible through a "GET" with Upgrade header instead of only "CREATE". As a result, this allowed users with read-only access to be able to execute streaming commands, like "exec" and "port-forward", exposing a significant security gap.

In order to prevent this behavior, the only access policies with permissions for the subresources ("pods/attach", "pods/exec", "pods/portforward", "pods/proxy" and "nodes/proxy") are: "AmazonEKSAdminPolicy", "AmazonEKSClusterAdminPolicy" and "AmazonEKSEditPolicy".

Currently, this change is not documented, which can affect the customer experience since the documentation does not reflect the current behavior of EKS clusters setting wrong expectations.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

fincd-aws and others added 30 commits June 27, 2025 11:32
…sdocs#1053)

* document that spot interruption and EC2 health events are handled

* change link type

---------

Co-authored-by: Geoffrey Cline <geoffreyc@outlook.com>
…-command

Fix documentation: Remove invalid --approve flag from eksctl create podidentityassociation command
Sort network policy troubleshooting page for further additions.
Add 12 known issues.
This reverts commit 8f84d86.
For now, the re-conversion is required for the
  "Edit this page on GitHub" links to work.
…nfig

document the automatic configuration of local instance storage
Signed-off-by: Micah Hausler <mhausler@amazon.com>
chrisnegus and others added 22 commits September 4, 2025 16:29
Update docs with new aws-cni version 1.20.1
Thanks wsilva!
* Clarify control of workloads in Capacity Reservations

Updated the document to clarify the control of workload deployment into Capacity Reservations and added details on EC2 Capacity Blocks for ML.

* revise ml blocks

* revise ml blocks

* revise based on feedback

* fix typo
Fix missing indentation on alb-ingress.adoc
…ily copy and paste to understand the chapter's content. (awsdocs#1109)
@aws-amplify-us-east-1
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1116.d3rijirjvbh87e.amplifyapp.com

@fincd-aws fincd-aws self-assigned this Sep 22, 2025
@fincd-aws
Copy link
Contributor

Hi thanks!
I'm also going to recheck the tables of access policies in https://docs.aws.amazon.com/eks/latest/userguide/access-policy-permissions.html

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.