Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a better YAML #53

Closed
kitarp29 opened this issue Aug 18, 2023 · 6 comments
Closed

Make a better YAML #53

kitarp29 opened this issue Aug 18, 2023 · 6 comments
Labels

Comments

@kitarp29
Copy link
Owner

Make a better YAML

The idea started with this issue: - #52
Why not use all my learnings as a DevOps Engineer to build a better YAML to install Kube-ez.
I will keep this open, to keep building on it.
The File I am referring to is here: - one-to-rule-them-all.yaml
image

@kitarp29
Copy link
Owner Author

Add a Service to the YAML

I will add a Service in the YAML so that if any pod restart happens user won't be needed to port-forward each time.

Problem:

The deployment will restart the pod if it fails or is deleted, but the pod is ephemeral and has a random name, so the port-forward will need to be re-established each time.....Ahhh I bored myself writing this!

Solution:

Make a Service! It sits on top of the pod. And we expose the port of this resource.

A service is a Kubernetes object that exposes a pod or group of pods to the network. When you create a service, you can specify the ports that you want to expose. The service will then create a load balancer that distributes traffic to the pods.

If you port forward a service, the port forwarding will continue to work even if the pods that are backing the service restart. This is because the service will always be pointing to the latest pods that are backing it.


Me to Kube-EZ Pods now:

image

@kitarp29 kitarp29 added the good first issue Good for newcomers label Aug 18, 2023
@github-actions
Copy link

Stale issue message

Copy link

Stale issue message

Copy link

Stale issue message

Copy link

github-actions bot commented Jun 8, 2024

Stale issue message

Copy link

github-actions bot commented Nov 2, 2024

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant