From b1d8c9d8bfca9d9d696ba3ef07a2f2cdf91b061a Mon Sep 17 00:00:00 2001 From: Romil Bhardwaj Date: Fri, 22 Sep 2023 16:50:52 -0700 Subject: [PATCH] [k8s] Add `OPEN_PORTS` to unsupported features for kubernetes (#2588) * add OPEN_PORTS as unsupported * lint * manual lint --- sky/clouds/kubernetes.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sky/clouds/kubernetes.py b/sky/clouds/kubernetes.py index 5aa8812921a..d91d2a5ecba 100644 --- a/sky/clouds/kubernetes.py +++ b/sky/clouds/kubernetes.py @@ -66,8 +66,12 @@ class Kubernetes(clouds.Cloud): 'tiers are not ' 'supported in ' 'Kubernetes.', - clouds.CloudImplementationFeatures.DOCKER_IMAGE: - ('Docker image is not supported in Kubernetes. ') + clouds.CloudImplementationFeatures.DOCKER_IMAGE: 'Docker image is not ' + 'supported in ' + 'Kubernetes.', + clouds.CloudImplementationFeatures.OPEN_PORTS: 'Opening ports is not ' + 'supported in ' + 'Kubernetes.' } IMAGE_CPU = 'skypilot:cpu-ubuntu-2004'