Virtual Kubelet Certificate Management
This guide explains how to manage TLS certificates for the Virtual Kubelet HTTPS server. The Virtual Kubelet provides three flexible certificate management options to accommodate different security requirements and operational workflows.
Overview
The Virtual Kubelet exposes an HTTPS API that the Kubernetes control plane uses to interact with the virtual node. This API requires TLS certificates for secure communication. InterLink provides three certificate management modes with a clear priority order:
- Manually Provided Certificates (highest priority) - Use your own certificate files
- Self-Signed Certificates - Automatically generated certificates for testing/development
- CSR-Based Certificates (default) - Kubernetes CertificateSigningRequest workflow
Certificate Management Modes
Mode 1: Manually Provided Certificates (Recommended for Production)
Use this mode when you want full control over certificate management, such as using certificates from your organization's PKI, cert-manager, or external certificate authorities.
Configuration
Add these fields to your Virtual Kubelet configuration:
KubeletCertFile: /etc/kubernetes/pki/kubelet-server.crt
KubeletKeyFile: /etc/kubernetes/pki/kubelet-server.key