Kubernestes Services

π—žπ˜‚π—―π—²π—Ώπ—»π—²π˜π—²π˜€ π—¦π—²π—Ώπ˜ƒπ—Άπ—°π—²π˜€

π‘†π‘’π‘Ÿπ‘£π‘–π‘π‘’ 𝑖𝑠 π‘‘β„Žπ‘Žπ‘‘ π‘π‘œπ‘šπ‘π‘œπ‘›π‘’π‘›π‘‘ 𝑖𝑛 πΎπ‘’π‘π‘’π‘Ÿπ‘›π‘’π‘‘π‘’π‘  π‘‘β„Žπ‘Žπ‘‘ β„Žπ‘’π‘™π‘π‘  π‘’π‘ π‘‘π‘Žπ‘π‘™π‘–π‘ β„Ž π‘π‘œπ‘šπ‘šπ‘’π‘›π‘–π‘π‘Žπ‘‘π‘–π‘œπ‘› 𝑏𝑒𝑑𝑀𝑒𝑒𝑛 π‘œπ‘‘β„Žπ‘’π‘Ÿ π‘π‘œπ‘šπ‘π‘œπ‘›π‘’π‘›π‘‘π‘  π‘œπ‘“ πΎπ‘’π‘π‘’π‘Ÿπ‘›π‘’π‘‘π‘’π‘ .

You made a deployment with eight pods running. How will you access them or join an SQL or Redis? Service is there to provide that facility.

π—§π˜†π—½π—²π˜€ 𝗼𝗳 π—žπ˜‚π—―π—²π—Ώπ—»π—²π˜π—²π˜€ π—¦π—²π—Ώπ˜ƒπ—Άπ—°π—²π˜€

π‘π‘œπ‘‘π‘’ π‘ƒπ‘œπ‘Ÿπ‘‘

Node Port is a type of service used for accessing pods outside the cluster. You can access it from your local address using localhost.

πΆπ‘™π‘’π‘ π‘‘π‘’π‘Ÿ 𝐼𝑃

It is the default Service type. Communication can be done when you are inside the cluster. You need to be inside the cluster for its communication.

Do you know what I missed here?
Just Be Sure

Post a Comment

0 Comments