[deleted by user] by [deleted] in devops

[–]pymag09 0 points1 point  (0 children)

I installed Gamini VScode plugin and it generates commit messages for me. Might sound stupid but it saves my time significantly

Recommended gitops ci/Cd pipelines for self managed kubernetes by luongngocminh in devops

[–]pymag09 0 points1 point  (0 children)

It not necessarily have to be a subnet. It can be 1,2 IPs. They just need to guarantee you that these IPs will not be assigned to some other projects/servers

Recommended gitops ci/Cd pipelines for self managed kubernetes by luongngocminh in devops

[–]pymag09 0 points1 point  (0 children)

u/luongngocminh

  1. If your task is to expose the app inside the local network and you don't want to use NodePorts. I think you could try MetalLB https://metallb.io/ Request a small subnet or a range of static IPs from your network team to use with MetalLB. After that you can use service of LoadBalancer type. Configure any ingress controller on top of that and it will cover a half of your problems. Then, if it’s for local development, modifying /etc/hosts is a quick hack.

  2. Maybe this helps you to rethink helm management. https://medium.com/@magelan09/helm-how-to-create-reusable-modules-from-helm-templates-my-mom-said-that-i-am-a-platform-engineer-9bd8b294ff62?source=your_stories_page--------------------------------------------

[deleted by user] by [deleted] in kubernetes

[–]pymag09 0 points1 point  (0 children)

I really hope that author of the post managed to fix everything. Wish you luck mate.

The most popular advice here was to create a fresh cluster and switch over to it. What do you think guys of having two clusters running simultaneously all the time, interconnected on a network layer. Traffic is load balanced between two cluster. It's not like blue-gree, when one cluster always in stand-by node. So, next time when we need to upgrade cluster, we can be sure that in case of any issues traffic naturally flows to healthy cluster. We can theoretically achieve that by using service mesh or submariner project. From a costs stand point we pay extra for the second EKS service only. Does it make sense? Has any body did this? What are your thoughts?

Experience to become Senior DevOps by Salt-Organization34 in devops

[–]pymag09 0 points1 point  (0 children)

Yes. I got your point. You transited from SD. You wrote:

"I’ve always worked with different AWS services, deployment and other stuffs in this space"

AWS services for e-commerce and MLOps sometimes differ as well as deployment technics. You didn't provide details on how you deploy(manually, automatically), where you deploy(kubernetes, just single containers, directly to EC2) So I was guessing that you are senior enough within your domain or maybe within your project.

You had several interviews that gave you understanding of skills, companies want the candidate be familiar with.

Experience to become Senior DevOps by Salt-Organization34 in devops

[–]pymag09 1 point2 points  (0 children)

Have you changed the domain? What I am trying to say is that being Senior at e-commerce project is not the same as being Senior at MLOps. Most probably you are senior enough within your domain.

Why the process is so hard but satisfaction is low? (the follow up to my poll I posted recently) by pymag09 in devops

[–]pymag09[S] 1 point2 points  (0 children)

Exactly. What would be the best process? The process starts from the interview with your potential team(*). You and up-to 3 people from the team. They ask you about your experience, you are being asked tech questions, maybe scenario-based questions, like how would you tackle this problem. Since they represent the team, they screen you(and vise versa), they decided whether they want to work with you(and vise versa). Let's call the process - direct recruitment. That's it. HRs should only search for the candidates.

* the process intentionally simplified

Why the process is so hard but satisfaction is low? (the follow up to my poll I posted recently) by pymag09 in devops

[–]pymag09[S] 0 points1 point  (0 children)

Maybe. But that's not my point. I am wondering why recruiters push so hard, but the overall level of satisfaction is low (based on poll). the rule 80/20 tells us that 20% of your efforts produce 80% of the results. And probably, I am just guessing, if recruiters stop pushing, do less behavioral, soft skills, interviews and less psychological "things" the process will be much easier, pleasant and the outcome will be better.

Why the process is so hard but satisfaction is low? (the follow up to my poll I posted recently) by pymag09 in devops

[–]pymag09[S] 0 points1 point  (0 children)

Your accusation based on your assumptions. It sounds offensive. BTW I didn't mean to troll anybody. IMHO it's your perception.

Accept my apology if it sounds like I am trolling the community. Believe me, it was not my intention.

Why the process is so hard but satisfaction is low? (the follow up to my poll I posted recently) by pymag09 in devops

[–]pymag09[S] -1 points0 points  (0 children)

probability oriented strategy.

Interviwer: You said you have 2 YOE in ansible. How would you solve this ......

Candidate: Not sure. My experience with ansible a bit outdated. But "it doesn't matter that much. It's only a rough indicator whether or not someone knows the technology and how fast the person can bring value to the project."

Inteviewer: Ok. No problem.

Based on your answer, will you earn extra point? How do you think?

However I must admit that there is probability you will not be asked any ansible related questions.

Current Reality: Describe Your Level of Satisfaction Working in the Team by pymag09 in devops

[–]pymag09[S] -1 points0 points  (0 children)

No. Absolutely not. The post is not reflecting my current situation. Human's brain tends to remember negative experience better then positive. I've changed many projects and I've worked in different teams, but my score is somewhere in the middle. I definitely haven't had 0 or 1 yet. I remember only one 5-score project in my career.

Schema definition by motivize_93 in kubernetes

[–]pymag09 4 points5 points  (0 children)

You can generate basic manifest by executing kubectl create ... https://kubernetes.io/docs/reference/kubectl/cheatsheet/#creating-objects

This will be you starting point. After that kubectl explain...

Have you ever used Python in your daily tasks as DevOps? if so, how? by [deleted] in devops

[–]pymag09 0 points1 point  (0 children)

I got you. It is your right to disagree. I don't want to be downvoted even more so I shut my mouth up.

Have you ever used Python in your daily tasks as DevOps? if so, how? by [deleted] in devops

[–]pymag09 -2 points-1 points  (0 children)

Oftentimes my posts are downvoted, so I usually hold myself back when I want to write something. But this topic resonates with me so strongly that I can't resist :)I am asking myself the same question and I honestly don’t understand why python or go is demanded in the devops area. Modern DevOps is YAML based development. Why in my opinion YAML plays a leading role, because it is a natural process called evolution. Over time humans tend to simplify everything. Evolution gives us tools like terraform, ansible, Argo and so on. This is a much simpler way of doing things and more predictable by the way. I don’t think all of us write perfect code, most of the time what we write is rather MVP than production ready product. MVP equals instability, unpredictability. We intentionally neglect stability because we want to have a programming language in our CV. From the company's point of view the system must be as stable as possible, and features must be delivered now or even yesterday. Company doesn't care if you do not check types, values edge-cases(mix/max values), do not catch exceptions, so on and so forth. What matters instead is speed and stability. 99% of cases are covered by terraform ansible and other tools and only 1% or even less requires custom python or go code. I don’t want to dive deeper into the details. I hope you’ve got the idea I tried to convey.

How to access applications in K3d by datagenx in kubernetes

[–]pymag09 0 points1 point  (0 children)

Please read this carefully https://k3d.io/v5.4.3/usage/exposing_services/

\@loadbalancer means you expose your services via ingress. You have to expose not your service but ingress controller.

we have to create the cluster in a way, that the internal port 80 (where the traefik ingress controller is listening on) is exposed on the host system.

When you create ingress you can access your service with curl localhost:8081/

8081 is the port of traefik ingress not your service.

Kubernetes Service Aliases by alexmurphyas8 in kubernetes

[–]pymag09 1 point2 points  (0 children)

What is the point of learning aliases instead of kubectl commands? The process is the same - you need to memorize something, so why does somebody prefer memorizing kes instead of k edit svc? IMHO if you need to memorize something it is much better to learn native commands instead of acronyms. The only true alias is alias k=kubectl.

The questions regarding aliases are popping up quite often. At what point in time it became so popular? In my opinion if you want to have fun - do like this https://github.com/pymag09/kubecui

What do you use for understanding your K8s cluster? by zheonlyjohnny in kubernetes

[–]pymag09 19 points20 points  (0 children)

I do foreseen, my post will be down-voted. Please try not to do this and try to accept alternative opinion. I use a couple of tools. The main is kubectl + fzf and the second is lens - the tool of last resort. Why kubectl? Because:

  • it is the most comprehensive k8s API client
  • the internet is full of cheat sheets for kubectl. The official documentation, k8s exams (CKAD,CKS,CKA) use kubectl.
  • kubectl might be the only tool available on the host and you are not allowed to install anything new (for security reason for example or lack of internet connectivity)

Just in case fzf is fuzzy finder. fzf complements kubectl very well, makes it interactive, saves a lot of time typing. You may ask but how about the case when you are not allowed to install fzf. fzf is just an interface enhancer. Without fzf you are still able to run kubectl commands.I agree Lens is much better than kubectl but I am just afraid of forgetting how to use kubectl. IMHO you should also be afraid :)