Kubernetes Ingress is a resource that manages external access to the services in a cluster, typically HTTP.
You can create the ingress using the following steps.
Nginx Ingress Controller is required to automatically create the load balancer through the kubernetes ingress
.
First, you need to prepare the certificate for the following FQDN.
console.example.com
*.api.example.com
*.grpc.example.com
(optional)webhook.example.com
(optional)
After that, download the certificate_secret.yaml and replace the certificate and key with your own.
kubectl apply -f certificate_secret.yaml -n spaceone
First, you need to download all the ingress files and replace the hostname
with your own.
- Console: console_ingress.yaml
- REST API: rest_api_ingress.yaml
- gRPC API: grpc_api_ingress.yaml
- Monitoring Webhook: monitoring_webhook_ingress.yaml
kubectl apply -f console_ingress.yaml -n spaceone
kubectl apply -f console_api_ingress.yaml -n spaceone
kubectl apply -f grpc_api_ingress.yaml -n spaceone
kubectl apply -f monitoring_webhook_ingress.yaml -n spaceone
gRPC API
andMonitoring Webhook
are optional. If you don't need it, you don't need to apply it.
You can access the console using the following URL.