Kubernetes bezdar snippets
Snippets for all common Kubernetes objects. Type a prefix in any .yml / .yaml file and press Tab.
Snippets
| Prefix |
Description |
Namespace |
Namespace |
ServiceAccount |
ServiceAccount |
ConfigMap |
ConfigMap |
Secret |
Secret |
Pod |
Pod |
Deployment |
Deployment |
StatefulSet |
StatefulSet |
DaemonSet |
DaemonSet |
ReplicaSet |
ReplicaSet |
Job |
Job |
CronJob |
CronJob |
Service |
Service (ClusterIP) |
ServiceNodePort |
Service (NodePort) |
ServiceLoadBalancer |
Service (LoadBalancer) |
Endpoints |
Endpoints |
EndpointSlice |
EndpointSlice |
Ingress |
Ingress |
IngressClass |
IngressClass |
NetworkPolicy |
NetworkPolicy |
PersistentVolume |
PersistentVolume |
PersistentVolumeClaim |
PersistentVolumeClaim |
StorageClass |
StorageClass |
VolumeAttachment |
VolumeAttachment |
CSIDriver |
CSIDriver |
ResourceQuota |
ResourceQuota |
LimitRange |
LimitRange |
HorizontalPodAutoscaler |
HorizontalPodAutoscaler |
VerticalPodAutoscaler |
VerticalPodAutoscaler |
PodDisruptionBudget |
PodDisruptionBudget |
Lease |
Lease |
CertificateSigningRequest |
CertificateSigningRequest |
Role |
Role (core API group) |
RoleApps |
Role (apps API group) |
RoleBatch |
Role (batch API group) |
RoleNetworking |
Role (networking.k8s.io) |
ClusterRole |
ClusterRole |
RoleBinding |
RoleBinding |
ClusterRoleBinding |
ClusterRoleBinding |
RBAC |
ServiceAccount + Role + RoleBinding (all-in-one) |
ClusterRBAC |
ServiceAccount + ClusterRole + ClusterRoleBinding (all-in-one) |
| |