How to Map a Custom Domain to Google Cloud Run Service
Learn how to Map a Custom Domain to Google Cloud Run Service.
The Custom domain is with Godaddy registrar, and the DNS management is delegated to Cloud Flare.
We will first verify our domain ownership with GCP.
Then we will add a CName record to point our subdomain or custom domain to ghs .googlehosted .com.
https://youtu.be/lDtvpUYAFzA
https://redd.it/ydctek
@r_devops
Learn how to Map a Custom Domain to Google Cloud Run Service.
The Custom domain is with Godaddy registrar, and the DNS management is delegated to Cloud Flare.
We will first verify our domain ownership with GCP.
Then we will add a CName record to point our subdomain or custom domain to ghs .googlehosted .com.
https://youtu.be/lDtvpUYAFzA
https://redd.it/ydctek
@r_devops
YouTube
How to Map a Custom Domain to Google Cloud Run Service
Learn how to Map a Custom Domain to Google Cloud Run Service.
The Custom domain is with Godaddy registrar, and the DNS management is delegated to Cloud Flare. We will first verify our domain ownership with GCP and then add a CName record to point our subdomain…
The Custom domain is with Godaddy registrar, and the DNS management is delegated to Cloud Flare. We will first verify our domain ownership with GCP and then add a CName record to point our subdomain…
Does Traefik by default, act as a firewall ?
When my Traefik proxy container is running on my server, I cant access it through SSH. I just get
https://redd.it/yd2jap
@r_devops
When my Traefik proxy container is running on my server, I cant access it through SSH. I just get
connection timed outhttps://redd.it/yd2jap
@r_devops
reddit
Does Traefik by default, act as a firewall ?
When my Traefik proxy container is running on my server, I cant access it through SSH. I just get `connection timed out`
I'm giving myself carpal tunnel... suggestions?
I think something about my chair armrest/desk height/mouse/something else configuration is compressing my median nerve in just the right way to start causing issues. Occasional feeling like, not like my hand is asleep, but like its just starting to fall asleep, and problems with tightness and popping in my wrist the next day if, after work, I do anything in the workshop involving hand tools.
I don't know enough about desk ergonomics to know what to do to prevent this. While we're at it, I have lower back issues too, so maybe I need a new chair?
Any insight is appreciated. I'm 34... if I do this until I'm 60 I'm gonna look like Quasimodo.
https://redd.it/ydepwg
@r_devops
I think something about my chair armrest/desk height/mouse/something else configuration is compressing my median nerve in just the right way to start causing issues. Occasional feeling like, not like my hand is asleep, but like its just starting to fall asleep, and problems with tightness and popping in my wrist the next day if, after work, I do anything in the workshop involving hand tools.
I don't know enough about desk ergonomics to know what to do to prevent this. While we're at it, I have lower back issues too, so maybe I need a new chair?
Any insight is appreciated. I'm 34... if I do this until I'm 60 I'm gonna look like Quasimodo.
https://redd.it/ydepwg
@r_devops
reddit
I'm giving myself carpal tunnel... suggestions?
I think something about my chair armrest/desk height/mouse/something else configuration is compressing my median nerve in just the right way to...
What might cause the master instance to not reboot?
I have a proxy and I have three instances. Two slaves and one master, and the master when we shut it down manually won't restart and stay healthy. What might be causing this? I have something set up in Nomad, but I can't figure out what might be the causes for this, and what to look for to troubleshoot.
https://redd.it/ydp0co
@r_devops
I have a proxy and I have three instances. Two slaves and one master, and the master when we shut it down manually won't restart and stay healthy. What might be causing this? I have something set up in Nomad, but I can't figure out what might be the causes for this, and what to look for to troubleshoot.
https://redd.it/ydp0co
@r_devops
reddit
What might cause the master instance to not reboot?
I have a proxy and I have three instances. Two slaves and one master, and the master when we shut it down manually won't restart and stay healthy....
random question: What is the average percentage of errors you'll be facing in your daily devops work routine?
Just wanted to know how much a devops person spends a day on solving the errors
https://redd.it/ydnh06
@r_devops
Just wanted to know how much a devops person spends a day on solving the errors
https://redd.it/ydnh06
@r_devops
reddit
random question: What is the average percentage of errors you'll...
Just wanted to know how much a devops person spends a day on solving the errors
Regex based web tail for Kubernetes
https://youtu.be/86wHchb2LxI
Like a kubectl logs... but through a web console and a regex based filter
https://redd.it/ydrk48
@r_devops
https://youtu.be/86wHchb2LxI
Like a kubectl logs... but through a web console and a regex based filter
https://redd.it/ydrk48
@r_devops
YouTube
Regex based web tail with KubeInvaders v1.9.5
Prometheus metrics on Cloudwatch
I am trying to integrate Prometheus with our servers to get application level metrics, so I was following this "Monitor and scale your Amazon ECS on AWS Fargate application using Prometheus metrics" blog.
The cloudformation template works and I am running cloudwatch agent in my cluster but for some reason I cannot see prometheus metrics in Cloudwatch. The only difference I could find is that in this blog they are using public subnet but my server is in private subnet and in my case I am using a common security group with all traffic allowed in both inbound and outbound rules for the cloudwatch agent and my server.
​
Any suggestion on what I am doing wrong?
https://redd.it/ydtlw0
@r_devops
I am trying to integrate Prometheus with our servers to get application level metrics, so I was following this "Monitor and scale your Amazon ECS on AWS Fargate application using Prometheus metrics" blog.
The cloudformation template works and I am running cloudwatch agent in my cluster but for some reason I cannot see prometheus metrics in Cloudwatch. The only difference I could find is that in this blog they are using public subnet but my server is in private subnet and in my case I am using a common security group with all traffic allowed in both inbound and outbound rules for the cloudwatch agent and my server.
​
Any suggestion on what I am doing wrong?
https://redd.it/ydtlw0
@r_devops
reddit
Prometheus metrics on Cloudwatch
I am trying to integrate Prometheus with our servers to get application level metrics, so I was following this "Monitor and scale your Amazon ECS...
Advice please. Reddit gold for help. :)
I am an experienced developer but a DevOps n00b. I recently taught myself the basic of Kubernetes / EKS / Jenkins and Cloud Formation.
I have a large project where I will be rolling out the same code base for 60 different clients, it's a cross of Sass/PaaS I guess? Where each customer has their own Kubernetes cluster running their app(s), a Redis cluster and an Elastic Search Cluster.
I have a Jenkins server setup that can does the following:
- Takes the base repos an builds the Docker images for the apps
- Deploys a Kubernetes control cluster via EKS inside VPC.
- Deploys customer 1's applicaiton to that cluster.
- Deploy an Aurora DB cluster inside the same VPC for the application to uses.
- Deploys Elastic Search and Redis clusters for the app to use inside the VPC.
I can manage applications updates etc via the Jenkins job by passing in a new image version for the app etc..
Ok so that's all working, great! But now I have this situation:
I need to roll this out for 60 different customers. The larger customers will sit in their own VPC, having the entire cluster to themselves.
Smaller customers may share a VPC, i.e. share a DB/ES/Redis cluster just have different databases and indexes etc.
Each customer will need to have their infrastructure and/or application updated at some point, but not neccessarily all at the same time.
My question is how should I manage all of this? I really want a dashboard where I can see all of the clusters, all of the customers on those clusters, and the versions they are currently running for each of their applications and infrastructure.
Should I look to create this dashboard manually, should it be a job in Jenkins? Should I look at Gitlab or something similar?
How would you manage all of this? What tools should I learn to help me?
Thank you in advance! Good answers will be rewarded with Reddit gold!
https://redd.it/ydvoaf
@r_devops
I am an experienced developer but a DevOps n00b. I recently taught myself the basic of Kubernetes / EKS / Jenkins and Cloud Formation.
I have a large project where I will be rolling out the same code base for 60 different clients, it's a cross of Sass/PaaS I guess? Where each customer has their own Kubernetes cluster running their app(s), a Redis cluster and an Elastic Search Cluster.
I have a Jenkins server setup that can does the following:
- Takes the base repos an builds the Docker images for the apps
- Deploys a Kubernetes control cluster via EKS inside VPC.
- Deploys customer 1's applicaiton to that cluster.
- Deploy an Aurora DB cluster inside the same VPC for the application to uses.
- Deploys Elastic Search and Redis clusters for the app to use inside the VPC.
I can manage applications updates etc via the Jenkins job by passing in a new image version for the app etc..
Ok so that's all working, great! But now I have this situation:
I need to roll this out for 60 different customers. The larger customers will sit in their own VPC, having the entire cluster to themselves.
Smaller customers may share a VPC, i.e. share a DB/ES/Redis cluster just have different databases and indexes etc.
Each customer will need to have their infrastructure and/or application updated at some point, but not neccessarily all at the same time.
My question is how should I manage all of this? I really want a dashboard where I can see all of the clusters, all of the customers on those clusters, and the versions they are currently running for each of their applications and infrastructure.
Should I look to create this dashboard manually, should it be a job in Jenkins? Should I look at Gitlab or something similar?
How would you manage all of this? What tools should I learn to help me?
Thank you in advance! Good answers will be rewarded with Reddit gold!
https://redd.it/ydvoaf
@r_devops
reddit
Advice please. Reddit gold for help. :)
I am an experienced developer but a DevOps n00b. I recently taught myself the basic of Kubernetes / EKS / Jenkins and Cloud Formation. I have a...
I have got 2 offers, one with better pay, worse stack, second better stack + more grow opportunities but less pay
Hey guys,
I have got 2 job offers where the first one is an insurance company, they offer better stack (Terraform, AWS, Python) with guaranteed AWS Certification that they sign you for ( "AWS Solutions Architect – Associate" ), there is even one day a month only just to study (paid),
The second one is a bank, they offer less preferable stack for me (internal cloud, Linux, NGINX, Tomcat, RedHat and Azure DevOps) but with much better pay, they also need on-call rotation 24/7 unfortunately, which would be once in 6 weeks,
Which one do you think I should pursue?
​
The one thing is that I accepted the bank offer already, which I can pull out from of course, but that might make me blacklisted.
https://redd.it/ydvxy5
@r_devops
Hey guys,
I have got 2 job offers where the first one is an insurance company, they offer better stack (Terraform, AWS, Python) with guaranteed AWS Certification that they sign you for ( "AWS Solutions Architect – Associate" ), there is even one day a month only just to study (paid),
The second one is a bank, they offer less preferable stack for me (internal cloud, Linux, NGINX, Tomcat, RedHat and Azure DevOps) but with much better pay, they also need on-call rotation 24/7 unfortunately, which would be once in 6 weeks,
Which one do you think I should pursue?
​
The one thing is that I accepted the bank offer already, which I can pull out from of course, but that might make me blacklisted.
https://redd.it/ydvxy5
@r_devops
reddit
I have got 2 offers, one with better pay, worse stack, second...
Hey guys, I have got 2 job offers where the first one is an insurance company, they offer better stack (Terraform, AWS, Python) with guaranteed...
Devops Niches?
Can I focus on a niche in devops that doesn't have on call duties?
I am an older programmer and currently coming back into the job market (out to help my spouse beat cancer) I have a background in both dev and sys admin.
Recently have discovered devops and find I relate a lot to the role. I am enjoying working with the cloud and recently achieved my SAA. But I haven't worked formally as a devops, but find myself really enjoying terraform and kub.
I want to be realistic and I may pivot to data eng just to keep my sanity working for a company. I tend to like a solitary role and that's why I am not keen on going straight back as a full stack dev. Standups and demdanding clients were never my joy of software dev. LOL.
Any advice?
Thanks!
https://redd.it/ye6pmc
@r_devops
Can I focus on a niche in devops that doesn't have on call duties?
I am an older programmer and currently coming back into the job market (out to help my spouse beat cancer) I have a background in both dev and sys admin.
Recently have discovered devops and find I relate a lot to the role. I am enjoying working with the cloud and recently achieved my SAA. But I haven't worked formally as a devops, but find myself really enjoying terraform and kub.
I want to be realistic and I may pivot to data eng just to keep my sanity working for a company. I tend to like a solitary role and that's why I am not keen on going straight back as a full stack dev. Standups and demdanding clients were never my joy of software dev. LOL.
Any advice?
Thanks!
https://redd.it/ye6pmc
@r_devops
reddit
Devops Niches?
Can I focus on a niche in devops that doesn't have on call duties? I am an older programmer and currently coming back into the job market (out to...
What is the common practice for wrapping public helm charts?
Hi,
I am looking for some advice on the industry's common practice toward wrapping public helm charts.
Let's say for instance, that there is helm-chart-x that creates a service, ingress and gets me 90% of the way toward creating "an internal (to the biz) service", additionally hypothetically let's say I need to add some extra k8 resources such as an additional ingress for the remaining 10%.
Would the common practise be to make the public chart a subchart of a custom helm-chart for the internal-service or would folks recommend decoupling things and either having a separate helm-chart or simply kube manifests which configure the remaining 10%?
Intrigued to know which way folks would go, as I'd like to establish a bit of a pattern towards this.
https://redd.it/ye1aa4
@r_devops
Hi,
I am looking for some advice on the industry's common practice toward wrapping public helm charts.
Let's say for instance, that there is helm-chart-x that creates a service, ingress and gets me 90% of the way toward creating "an internal (to the biz) service", additionally hypothetically let's say I need to add some extra k8 resources such as an additional ingress for the remaining 10%.
Would the common practise be to make the public chart a subchart of a custom helm-chart for the internal-service or would folks recommend decoupling things and either having a separate helm-chart or simply kube manifests which configure the remaining 10%?
Intrigued to know which way folks would go, as I'd like to establish a bit of a pattern towards this.
https://redd.it/ye1aa4
@r_devops
reddit
What is the common practice for wrapping public helm charts?
Hi, I am looking for some advice on the industry's common practice toward wrapping public helm charts. Let's say for instance, that there is...
Things that suck to implement in Python, but not in Golang?
I've been using Python for a long time now, ever since I discovered that C++ and Java were not terribly useful for devops type tooling many moons ago.
Python has done pretty much everything I ever needed it to, but recently I had to implement threading in a tool to cut down on run time. Wrapping my head around
At the end of it, I was left with the impression that threading in Python was a very hackish affair, and the people that had been complaining about the GIL (global interpreter lock) for a long time had a really good point.
Are there any other areas that Golang really excels at vs Python for devops / SRE type use cases?
https://redd.it/ye8zr5
@r_devops
I've been using Python for a long time now, ever since I discovered that C++ and Java were not terribly useful for devops type tooling many moons ago.
Python has done pretty much everything I ever needed it to, but recently I had to implement threading in a tool to cut down on run time. Wrapping my head around
async.io was time consuming, and I ended up using concurrent.futures, which was only marginally less painful.At the end of it, I was left with the impression that threading in Python was a very hackish affair, and the people that had been complaining about the GIL (global interpreter lock) for a long time had a really good point.
Are there any other areas that Golang really excels at vs Python for devops / SRE type use cases?
https://redd.it/ye8zr5
@r_devops
reddit
Things that suck to implement in Python, but not in Golang?
I've been using Python for a long time now, ever since I discovered that C++ and Java were not terribly useful for devops type tooling many moons...
In the interview process. Take home test is iac based and asked to build multi tired application.
I'm applying for Jr roles.
One company asked me to build multi tired application but they said focus on terraform and gitops process. do they mean build the app and also the iac infrastructure to deploy it?? Or just a multi tired architecture capable of hosting a multi tired application?
https://redd.it/ydy5sm
@r_devops
I'm applying for Jr roles.
One company asked me to build multi tired application but they said focus on terraform and gitops process. do they mean build the app and also the iac infrastructure to deploy it?? Or just a multi tired architecture capable of hosting a multi tired application?
https://redd.it/ydy5sm
@r_devops
reddit
In the interview process. Take home test is iac based and asked to...
I'm applying for Jr roles. One company asked me to build multi tired application but they said focus on terraform and gitops process. do they...
Pants 2.14: Support for templating and deploying Helm charts
Pants
https://blog.pantsbuild.org/pants-2-14/#do-more-of-your-workflows-in-pants-with-the-experimental-deploy-goal-with-initial-support-for-helm
Pants will automatically:
1. Infer the Docker image dependencies of your Helm charts
2. Build and publish image dependencies
3. Post-process the Kubernetes manifests to use the published image names
4. Run the Kubernetes deployment resulting from the post-processing
Please check it out and let us know what you think!
https://redd.it/ye53su
@r_devops
Pants
2.14 was just released, and includes supports for a new deploy goal, with an initial ruleset for Helm.https://blog.pantsbuild.org/pants-2-14/#do-more-of-your-workflows-in-pants-with-the-experimental-deploy-goal-with-initial-support-for-helm
Pants will automatically:
1. Infer the Docker image dependencies of your Helm charts
2. Build and publish image dependencies
3. Post-process the Kubernetes manifests to use the published image names
4. Run the Kubernetes deployment resulting from the post-processing
Please check it out and let us know what you think!
https://redd.it/ye53su
@r_devops
Pantsbuild Open Source Community Blog
Pants 2.14: Less boilerplate, more Rust, better support for Go monorepos, interactive debugging support, and more!
Highlights include: less boilerplate via hierarchical defaults for target field values, better Golang monorepo support, with multiple `go.mod`s, do more of your workflows in Pants with the experimental `deploy` goal (with initial support for Helm), and much…
azure - vm size for the cluster and for the node pools?
I'm creating a cluster for a client (yay employed!) but client wanted to use Azure. I had just light contact with Azure before but I'm willing to learn.
Client reserved a VM for 3 years for us. He wants a managed AKS installed on one of those VMs.
My question is: I'll create the AKS selecting the reserved VM; will I be stuck with a single node pool? As I understood when I create a node pool I have to state the size of the VM as well.
If I use the reserved VM (F8 instance) and create nodepools with smaller sets (a system node pool with the bare minimum, another node pool for an application), will I be using (and paying for) several VMs? If so I'll have to stick with 1 node pool and manage replication on the containers/replica-sets?
Or it will create VMs on that reserved bigger VM and I'll not be paying extra?
For example, F8 has 8vCPU and 16GB RAM, which means I can "create" 4 node pools DS2 with 2vCPU+4GB RAM?
I'm reading the https://learn.microsoft.com/en-us/azure/aks/use-multiple-node-pools docs but nowhere it solves my doubt.
Thank you!
https://redd.it/ye2y2i
@r_devops
I'm creating a cluster for a client (yay employed!) but client wanted to use Azure. I had just light contact with Azure before but I'm willing to learn.
Client reserved a VM for 3 years for us. He wants a managed AKS installed on one of those VMs.
My question is: I'll create the AKS selecting the reserved VM; will I be stuck with a single node pool? As I understood when I create a node pool I have to state the size of the VM as well.
If I use the reserved VM (F8 instance) and create nodepools with smaller sets (a system node pool with the bare minimum, another node pool for an application), will I be using (and paying for) several VMs? If so I'll have to stick with 1 node pool and manage replication on the containers/replica-sets?
Or it will create VMs on that reserved bigger VM and I'll not be paying extra?
For example, F8 has 8vCPU and 16GB RAM, which means I can "create" 4 node pools DS2 with 2vCPU+4GB RAM?
I'm reading the https://learn.microsoft.com/en-us/azure/aks/use-multiple-node-pools docs but nowhere it solves my doubt.
Thank you!
https://redd.it/ye2y2i
@r_devops
Docs
Use multiple node pools in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Learn how to create and manage multiple node pools for a cluster in Azure Kubernetes Service (AKS)
Unable to install Virtual Box on my macOS Monterey (AppeM1 Pro chip)
Is there a different hypervisor that's compatible with my machine? I'm new to Mac's and Virtual Box is the only hypervisor that I've used so far to configure vms.
https://redd.it/ye1id9
@r_devops
Is there a different hypervisor that's compatible with my machine? I'm new to Mac's and Virtual Box is the only hypervisor that I've used so far to configure vms.
https://redd.it/ye1id9
@r_devops
reddit
Unable to install Virtual Box on my macOS Monterey (AppeM1 Pro chip)
Is there a different hypervisor that's compatible with my machine? I'm new to Mac's and Virtual Box is the only hypervisor that I've used so far...
With all these DevOps tools, what’s the use case for using Python?
Is using Python still a necessity? I know a lot of these tools use Python under the hood, but do you have to know it?
https://redd.it/ydt1su
@r_devops
Is using Python still a necessity? I know a lot of these tools use Python under the hood, but do you have to know it?
https://redd.it/ydt1su
@r_devops
reddit
With all these DevOps tools, what’s the use case for using Python?
Is using Python still a necessity? I know a lot of these tools use Python under the hood, but do you have to know it?
How did the Solarwinds attack and log4j affect your work as a Junior Admin?
title asks it all
https://redd.it/yehina
@r_devops
title asks it all
https://redd.it/yehina
@r_devops
reddit
How did the Solarwinds attack and log4j affect your work as a...
title asks it all
What happens when a node with local persistent volume goes offline in K8s?
From what I've understood about local PVs, they are allocated on a single node itself. What happens when this node goes down? Is there any way to set up replicas (or something similar) of a local PV on different nodes?
Note: I'm referring to multi-master multi-node cluster.
https://redd.it/yeizu5
@r_devops
From what I've understood about local PVs, they are allocated on a single node itself. What happens when this node goes down? Is there any way to set up replicas (or something similar) of a local PV on different nodes?
Note: I'm referring to multi-master multi-node cluster.
https://redd.it/yeizu5
@r_devops
reddit
What happens when a node with local persistent volume goes offline...
From what I've understood about local PVs, they are allocated on a single node itself. What happens when this node goes down? Is there any way to...
Nginx ingress controller: how to insert whitelist-source-range annotations globally, but conditionally at the same time?
Hi Guys,
I wonder if that's even possible ;)
We have one ingress controller resource which monitors multiple Ingress resources in our k8s cluster.
Let's say \~40 Ingress resources. Some of them have whitelist-source-range defined to allow access only from selected IP ranges. Some of these Ingress resources are publicly opened.
Now, this mechanism works perfectly fine. Nothing wrong about it, except we need to maintain, monitor and track correctness of white-source IP ranges in number of Ingresses.
Therefore, we were thinking if there is a way to conditionally inject the whitelist-source annotation into selected Ingress basing on URL e.g. if ingress URL contains magic text, say ".notpublic.", then insert white-source annotation.
Another way would be to have two ingress controllers: open for public access, and second one for private access (with whitelist-source-range annotation).
Appreciate you help and input.
https://redd.it/yekoi3
@r_devops
Hi Guys,
I wonder if that's even possible ;)
We have one ingress controller resource which monitors multiple Ingress resources in our k8s cluster.
Let's say \~40 Ingress resources. Some of them have whitelist-source-range defined to allow access only from selected IP ranges. Some of these Ingress resources are publicly opened.
Now, this mechanism works perfectly fine. Nothing wrong about it, except we need to maintain, monitor and track correctness of white-source IP ranges in number of Ingresses.
Therefore, we were thinking if there is a way to conditionally inject the whitelist-source annotation into selected Ingress basing on URL e.g. if ingress URL contains magic text, say ".notpublic.", then insert white-source annotation.
Another way would be to have two ingress controllers: open for public access, and second one for private access (with whitelist-source-range annotation).
Appreciate you help and input.
https://redd.it/yekoi3
@r_devops
reddit
Nginx ingress controller: how to insert whitelist-source-range...
Hi Guys, I wonder if that's even possible ;) We have one ingress controller resource which monitors multiple Ingress resources in our k8s...
Devops or cloud engineering
Hi everyone,
I am about to finish my master's degree in IT in the next few months and was thinking of getting into devops or cloud engineering. I know most of you say there is no such thing as junior or entry devops roles, but I am moving to Melbourne or Sydney after graduation and there are some job posts there for junior or entry level devops engineers.
I have 4 years of work experience in mechanical engineering, and no IT work experience although I have done some tinkering with HTML, CSS and JS in the past.
I have got 4 months left till I graduate and would like to gain some solid skills in that period by self-studying.
Which career path might be more suitable for me?
https://redd.it/yemrud
@r_devops
Hi everyone,
I am about to finish my master's degree in IT in the next few months and was thinking of getting into devops or cloud engineering. I know most of you say there is no such thing as junior or entry devops roles, but I am moving to Melbourne or Sydney after graduation and there are some job posts there for junior or entry level devops engineers.
I have 4 years of work experience in mechanical engineering, and no IT work experience although I have done some tinkering with HTML, CSS and JS in the past.
I have got 4 months left till I graduate and would like to gain some solid skills in that period by self-studying.
Which career path might be more suitable for me?
https://redd.it/yemrud
@r_devops
reddit
Devops or cloud engineering
Hi everyone, I am about to finish my master's degree in IT in the next few months and was thinking of getting into devops or cloud...