Managing Service and Ingress resources
The Service and Ingress resources in Kubernetes provide communication between pods and access to applications from outside the cluster. In the management console, you can manage these resources in Kubernetes without using kubectl.
Note
To view cluster resources in the Ingresses section, you need the alb.auditor role or higher.
Creating a Service or Ingress resource
You can create Service and Ingress resources in the management console in the same way as when using the kubectl apply -f <manifest_file.yaml> -n <namespace_name> command.
- In the management console
, select the folder. - Navigate
to Managed Service for Kubernetes. - Select the Managed Service for Kubernetes cluster and open the Services and Ingresses tab.
- Navigate to the tab with the resource type you want to create: Services or Ingresses.
- Click the create button for the selected resource type.
- In the drop-down list, select the Namespace to create the resource in.
- Fill out the manifest file according to the Kubernetes guides: Service
, Ingress . - Click Create.
Editing a Service or Ingress resource
In the management console, you can edit Service and Ingress resource manifests in a visual editor. This approach is equivalent to running the kubectl apply -f <manifest_file.yaml> command and allows you to update the resource configuration without re-creating it.
The list of editable fields depends on the object type and is available in this Kubernetes guide
- In the management console
, select the folder. - Navigate
to Managed Service for Kubernetes. - Select the Managed Service for Kubernetes cluster and open the Services and Ingresses tab.
- Navigate to the tab with the resource type you want to edit: Services or Ingresses.
- In the row with the resource in question, click
and select Edit. - Edit the manifest file on the right side of the screen. Your changes will be highlighted with color.
- In the top-right corner, click Save.
If the manifest is correct, the changes will be applied. If the updated manifest contains an error or edits uneditable fields, an error message will appear. Click More information for details.
Deleting a Service or Ingress resource
Deleting a Service or Ingress resource is equivalent to running the kubectl delete -f <manifest_file.yaml> command.
To delete a Service or Ingress resource, do the following:
- In the management console
, select the folder. - Navigate
to Managed Service for Kubernetes. - Select the Managed Service for Kubernetes cluster and open the Services and Ingresses tab.
- Navigate to the tab with the resource type you want to delete: Services or Ingresses.
- In the row with the resource in question, click
and select Delete. - In the window that opens, confirm the operation.