From 02dbd73bef1083a7215aa76b97102c3412ab0593 Mon Sep 17 00:00:00 2001 From: MohamedHaroon98 <120387545+MohamedHaroon98@users.noreply.github.com> Date: Thu, 6 Apr 2023 21:10:39 +0200 Subject: [PATCH] Answer a `services` related question (#371) --- topics/kubernetes/CKA.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/topics/kubernetes/CKA.md b/topics/kubernetes/CKA.md index 7447877..f1e708f 100644 --- a/topics/kubernetes/CKA.md +++ b/topics/kubernetes/CKA.md @@ -304,6 +304,8 @@ Note: create an alias (`alias k=kubectl`) and get used to `k get no`
Create an internal service called "sevi" to expose the app 'web' on port 1991
+ +`kubectl expose pod web --port=1991 --name=sevi`