Skip to content

Commit

Permalink
[k8s] Add OPEN_PORTS to unsupported features for kubernetes (skypil…
Browse files Browse the repository at this point in the history
…ot-org#2588)

* add OPEN_PORTS as unsupported

* lint

* manual lint
  • Loading branch information
romilbhardwaj committed Sep 22, 2023
1 parent 1ce7c82 commit b1d8c9d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sky/clouds/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit b1d8c9d

Please sign in to comment.