How to use KongIngress with https?

Hi, There.
I’m a new user for Kong API Gateway.

[K8s Version]
Client Version: version.Info{Major:“1”, Minor:“17”, GitVersion:“v1.17.6”, GitCommit:“d32e40e20d167e103faf894261614c5b45c44198”, GitTreeState:“clean”, BuildDate:“2020-05-20T13:16:24Z”, GoVersion:“go1.13.9”, Compiler:“gc”, Platform:“linux/amd64”}

[Kong Version]
2.1.1

Kong’s Doc said DB-Less Mode recommended with K8s. So, I’ve configured the Kong with DB-Less Mode.
I have 2 questions for Kong Configuration.

Q1) The Declarative mode is required on db less mode with K8s.
But, The Kong’s declarative Configuration format is different with K8s’s general “YAML” file. So, I don’t know how can use Kong’s Declarative Configuration such as kong.yml. Could you please let me know in detail?

Q2) As far as I understand, K8s’s Service matchs to Kong’s Service and Ingress matchs with Kong’s routes. So, I’ve configured like this to use HTTPS for Service.
Backend pods(container)has installed with other namespace.
backend can accept https only. So, I’m trying to connect with https protocol.
But, I can’t see the https protocol on Kong’s Service and can’t connect with https protocol.
Please let me know how to connect with https protocol?

[Kong Admin API]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 418 100 418 0 0 290k 0 --:–:-- --:–:-- --:–:-- 408k
{
“next”: null,
“data”: [
{
“host”: “console-np.console-system.80.svc”,
“id”: “3926a8f9-c0b8-545f-bcbe-9bafe9f3c348”,
“protocol”: “http”,
“read_timeout”: 60000,
“tls_verify_depth”: null,
“port”: 80,
“updated_at”: 1597306618,
“ca_certificates”: null,
“created_at”: 1597306618,
“connect_timeout”: 60000,
“write_timeout”: 60000,
“name”: “console-system.console-np.80”,
“retries”: 5,
“path”: “/”,
“tls_verify”: null,
“client_certificate”: null,
“tags”: null
}
]
}


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ