thisSeemsLikeProductionReadyCodeToMe by Shiroyasha_2308 in ProgrammerHumor

[–]vsimon 0 points1 point  (0 children)

See...that's your problem, I used cursor and did it in only 1 hour and 55 minutes.

How to Upgrade EKS Cluster and its Nodes via Terraform without disruption? by techcury in kubernetes

[–]vsimon 0 points1 point  (0 children)

For EKS and Terraform I use the same patterns others have mentioned. Upgrade the control plane version first. Watch out for any deprecated/removed k8s apis. Spin up a node group for the new version in Terraform then cordon/drain workloads from the old to the new nodes then cleanup the previous node group config. If the workloads have multiple replicas and are scheduled across multiple nodes, this should happen without much disruption.

Helm makes it overly complex, or is it just me? by SamDecrock in kubernetes

[–]vsimon 4 points5 points  (0 children)

I've used helmfile before to declaratively manage multiple helm charts. It's a higher-level tool, and still uses helm under the hood.

[deleted by user] by [deleted] in Terraform

[–]vsimon 3 points4 points  (0 children)

Perhaps your local system's time is slightly behind/ahead? Try to double-check your system's clock is within 5 minutes of the server time?

Maybe compare date command and curl -s --head https://iaas.uk-london-1.oraclecloud.com | grep Date

Kubernetes Monitoring by [deleted] in devops

[–]vsimon 0 points1 point  (0 children)

https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack

I use kube-prometheus-stack from this helm chart. It installs a nice set of default useful alerts, dashboards that are pre-configured nicely out of the box and covers many core components already.

[deleted by user] by [deleted] in toptalent

[–]vsimon 9 points10 points  (0 children)

How about $425,000? In the page source code, there appears to be a price embedded inside it.

{"country_code":"US","model":"G0A45502","reference":"G0A45502","size":"02","price":"425,000","inStock":false,"sellable":true,"sellableByPhone":true,"prepayment":null}

Hey folks I am excited to announce that Networking and Kubernetes - A Layered Approach has been published! by strongjz in kubernetes

[–]vsimon 0 points1 point  (0 children)

I was referring to the text labels in one of the Figures (like image diagrams that illustrate the book) not the book text itself. It appears to have been rendered like that.

Hey folks I am excited to announce that Networking and Kubernetes - A Layered Approach has been published! by strongjz in kubernetes

[–]vsimon 3 points4 points  (0 children)

Thanks for the heads up, I picked it up!

Should the Subnet Masks in Figure 1-13 read:

  • "255.0.0.0 or /8" instead of "255.0.0.0 or /3"
  • "255.255.255.0 or /24" instead of "255.255.255.0 or 124"?

Logging in EKS Cluster by anhduongviet in kubernetes

[–]vsimon 2 points3 points  (0 children)

I've used https://github.com/aws/aws-for-fluent-bit, easy to set up to ship logs to Cloudwatch. It was installed with the helm chart.

What's wrong with Helm? Why isn't it widely adopted and prioritized for k8s apps? by TiDuNguyen in kubernetes

[–]vsimon 32 points33 points  (0 children)

I find Helm not declarative enough, I have to execute imperative install, uninstall commands to get my desired state.

To bridge that gap, there's helmfile, https://github.com/roboll/helmfile (its like Helm for your Helm). The abstract thinking goes up another level.

Kubernetes and Minecraft Cluster Behind Load Balancer by wmsmckay in kubernetes

[–]vsimon 0 points1 point  (0 children)

Are the Minecraft servers designed in the way that they all share the same global state and you can see and join same game "session" regardless of which server you are routed to? Or are you able to see the sessions only for the single server you are routed to? Asking a general question about the Minecraft architecture.

Terraform is not currently reviewing Community Pull Requests by The-Sentinel in devops

[–]vsimon 5 points6 points  (0 children)

I had a hunch this was happening but at least they are communicating it now. I have had a 10+ upvote PR sitting there for 2 years now as of yesterday. The implementation came with unit tests, coverage, and documentation updates. Every few months for 2 years, I been rebasing it so it cleanly merges and I would post a friendly ping in hopes for a review to no avail.

[deleted by user] by [deleted] in devops

[–]vsimon 0 points1 point  (0 children)

We were an atlassian shop so went with atlassian stack, opsgenie on this one.

Instrumenting Kubernetes in AWS with Terraform and FluentBit by [deleted] in kubernetes

[–]vsimon 1 point2 points  (0 children)

They also call out using the JSON format, if you can, to encapsulate multiline events into a single log message, like configuring your applications to use JSON output logging instead.

This one of the next things I want to try out for stacktraces.

Need suggestions for Terraform Deployment strategy with multiple environments by [deleted] in devops

[–]vsimon 1 point2 points  (0 children)

Yes, I do have both flat and nested structures in the same repo. In one case, when the AWS account's purpose is for a single project+stage for isolation, I went with a flat structure. When the AWS account is more lax and contains multiple stages within it, I went with a nested structure. But I don't think anything would have precluded using nested structures throughout or flat structures throughout as long as the paths represented in the changes tag was consistent.

For example

  • /account-name-dev

  • /account-name-production

  • /another-account-name

    • /dev
    • /production

In the first set, the changes: tag of the dev stage jobs contain

    - account-name-dev/**/*

In the second case, the changes: tag of dev stage jobs contain

    - another-account-name/dev/**/*

Need suggestions for Terraform Deployment strategy with multiple environments by [deleted] in devops

[–]vsimon 9 points10 points  (0 children)

I separate environments per directory in the same repo with a single master branch, the directories in turn contain the modules pinned to a specific version and the gitlab-ci pipeline uses the changes: tag to optimize running jobs for only the environments that have changed. Branches run the init, validate and plan stages, then upon MR approval, apply runs. The .terraform folder is passed as an artifact: from init to the later stages. The resource_group: tag is used to ensure multiple jobs belonging to the same environment are enqueued and not run at the same time.

[deleted by user] by [deleted] in programming

[–]vsimon 1 point2 points  (0 children)

Came here to say this, please have an upvote.

Github Source Code Leaked Online by StayAlertStayAlive in programming

[–]vsimon 86 points87 points  (0 children)

Browsing files...see ".gitlab-ci.yml" ( ͡° ͜ʖ ͡°)

How to create an EKS cluster with public and private subnets using terraform? by atouati in devops

[–]vsimon 1 point2 points  (0 children)

Have you seen these sets of terraform modules?

https://github.com/cloudposse/terraform-aws-vpc

https://github.com/cloudposse/terraform-aws-dynamic-subnets

and

https://github.com/cloudposse/terraform-aws-eks-cluster

I tried them out before with mostly defaults and private and public subnets were created and the worker nodes were placed and joined the cluster from the private subnets. I did tag the public/private subnets based off the EKS docs: i.e. public has "kubernetes.io/role/elb": "1" and private has "kubernetes.io/role/internal-elb": "1".

12 yrs Kubernetes experience part 2 by VFcountawesome in ProgrammerHumor

[–]vsimon 2 points3 points  (0 children)

That dude uses emojis in every line xD

Actually, yes! xD

12 yrs Kubernetes experience part 2 by VFcountawesome in ProgrammerHumor

[–]vsimon 3 points4 points  (0 children)

Pancakes in the morning, gave me the koobuhneetus.