Reddit DevOps
266 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Canonical Survey highlights skills shortage in Kubernetes, with 54.5% pointing to a lack of in-house skills/limited manpower as their biggest challenge when migrating to/using Kubernetes and containers.

Canonical recently ran an interesting survey where they gathered data from 1200 respondents on hybrid and multi-cloud operations, Kubernetes, VMs, bare metal, goals, benefits, challenges, operators, advanced usage, edge, and more. This blog post digs into 5 of the data points we found most interesting.

https://redd.it/ogi31q
@r_devops
GITLAB CI/CD pipeline for embedded systems

Hello,

I am currently trying to develop a CI/CD pipeline in Gitlab that performs build, Static code analysis, unit testing, flashing an Stm32 using Raspberry pi, and smoke tests of the code on the stm where it communicates the results to the Raspberry pi.

I am currently trying to make the flashing stage of the pipeline where I have a Gitlab Runner on the Raspberry pi. As I understand it, I have to specify the port before running the docker image (when performing "docker run" ). However, I am uncertain as to how I will be able to the access the USB port on the Raspberry pi to flash the device when I am not performing the "docker run" command. Do I have to specify the port in the Entry point of the dockerfile, or is there a better way of doing it? Also, is there a way to make the runner notice which USB port is connected to the stm32 so that I do not have to hard code in the port?

Thank you

https://redd.it/ofk8hb
@r_devops
Measuring 40x and 50x errors on a K8s service endpoint with Prometheus?

Hi community,

Any idea how to go about this, can't find much clear info on google, to measure the Errors (40x, and 50x) on my service endpoints. My services are up and when I delete pods just for a test, I can see in the blackbox metrics that the prometheus gets and error, but not specified like 40x type or 50x.

https://redd.it/ogitx4
@r_devops
DevOps w/emphasis on Dev

I've been around on this sub for a while; mostly lurking. I created a new account today so as not to eventually dox myself.

My impression is that a lot of folks here are in what seems to be a more Ops focused role. My team is "Engineering Operations" and our job is to develop tools that help dev teams implement devops or just generally deliver their code more quickly. Aside from using DevOps within our own team, we don't manage any infrastructure, that's done by an entirely separate team that we work closely with.

Is this fairly common? How many of you basically focus entirely on development of tools? Is that just your role, or the role of your team?

https://redd.it/oggqzy
@r_devops
Do my French salary is enough ?

Hi,
I’m actually working as a devops engineer in a French fun-tech.
I have 3 years of experiences.
I’m working on technology such as Jenkins Kubernetes Salt Ansible.
Developing with Python and Groovy.

Actually my project is the migration of an Java applications into a modern application with spring (I’m only working on the infrastructure part).
I have actually migrate 99% of the application on Kubernetes with cluster on aws, azure and on-premise cluster (which I have setup alone).

My salary is 44000€/ Years and I’m living in Paris.

Actually thinking about finding a new job to have a better salary.

Did you think I’m wrong ?

Thanks for your response and sorry for my English !
I’m available for any of your questions.

https://redd.it/ogeqwx
@r_devops
GitOps - the Evolution of DevOps (list of resources)

Sharing a curated list of GitOps resources: articles, books, podcasts and videos to help anyone interested in the topic get a profound understanding of it.

https://github.com/microtica/gitops-resources

The idea is to create a centralized place with the most valuable GitOps content.

This will be a growing list available on GitHub, so please feel free to contribute.

https://redd.it/ogx6ta
@r_devops
How do you manage Jenkins pipelines at scale?

Working in a company with over 1500 employees. 7-8 different languages. Adding complexity of versions like Python 2 and 3, Java 8 to 11 etc.

How do you manage pipelines at scale?
Keeping 1 pipeline per language? (Then how to keep things flexible)?
Keeping pipelines in repo?

Or any other way to manage?

https://redd.it/ogwps4
@r_devops
HELP Azure Pipeline DevOps



Hi guys,

I'm here because I need some advice. After all, It's my first Azure Pipeline. I'm currently developing an Azure Pipeline and I already have Build Pipeline with these stages:

Info
Copying
Test
Security
Build
Updating

So, I want to use a Release Pipeline and migrate two stages from Build Pipeline to Release Pipeline. Specifically, the stages are "Build" and "Updating" that you can find the code here.

Finally, if you see other advice from my code, please let me know.

Thank you in advance for any help you can give!

https://redd.it/ogypps
@r_devops
Any of you ever take one of those “nice to haves” out of your backlog without telling anyone to work on during your spare time?

We have a rather large back log with things we’ll probably never get to any time soon. A good chunk of these issues I’m not really familiar with. I just picked one issue, and plan to try to “build” it out myself off hours for learning/experience.

https://redd.it/oh1dqi
@r_devops
Security metrics and activities

Hi folks. I’m really interested to learn more about the kind of security checks you guys do as part of DevOps. From pipeline stuff to how you manage or ensure security or your containers? Also interested in resources to learn about the kind of security metrics you can and should gather in your environment? Any pointers to good resources will be appreciated.

https://redd.it/oh0xnt
@r_devops
No Escape from Data+ML Lock-in

Reflecting on a recent a16z article on cloud costs, it occurred to me that there's no workload portability for Data & ML. I dug into it some in this post based on my experience but would love to hear from others if this makes sense. I've had some peers review it too and it seems to hit the mark, despite some gaps in my knowledge and experience (e.g. core network infra world). Have others observed this too? What am I not thinking of from a Data+ML workload portability perspective?

The domain (data+ML) is still nascent so use cases, tech and pricing are far from mature but from my perspective, it seems like there's a clear product strategy on Cloud providers' part to build these irreproducible strategic assets that lock you into their platform.

https://redd.it/ogqcnn
@r_devops
Difficulties of viewing backlogs when you use a single project with multiple areas in Azure Boards

All the MS documentation these days seems to suggest the use of a single project for almost all use cases. It also looks like they suggest using areas to divide this project so that you can limit what you view in some views as the Product Backlog .

However for me I have a problem in that as soon as I use the filter to view one area then the hierarchy goes away and it changes to a flat view.

I seem to share this problem with many others who have been complaining about this since 2018. Do you also have this problem? If so then how does it effect you and do you have some resolution for dealing with it? Also if it effects you then might be a good idea to upvote here.

https://developercommunity.visualstudio.com/t/boards-backlogs-please-keep-displaying-the-hierarc/366475

On checking the above link in more detail it appears that the person who is working at Microsoft who it is assigned to has had no issues or activity since Feb 21 :-(

https://redd.it/ohbfyh
@r_devops
Current market rates for 100% remote (US)?

I am the business manager for a very small (\~10 people) cloud consulting company & it's been a real struggle to find good DevOps/Platform Engineer folks to join our team. The existing guys are all really smart & amazing at what they do and have worked together in the past at other (much bigger) consulting firms. They are just stretched so thin right now due to how in demand we are & I really want to find some great new people to add to the team.

I am realistic in that I know we are a very small shop and do not have any kind of brand recognition other companies do, so I want to ensure the package we are offering is good enough for the realities of the market.

Currently:

* 100% remote (US only right now), will always be remote.
* 20+ days paid vacation, plus sick leave, plus personal leave.
* Medical/Dental/Vision/Life insurance (2 options, Platinum/Silver), 75% premiums paid by us.
* Additional training and certificates encouraged and paid for by us.
* Hands-off "management", not completely flat but very close.
* Opportunity for career progression and growth with the company and input in shaping the culture and structure.
* We plan to add 401(k) options next year.

Right now our (very broad) salary bands are:

Junior -- $60k-$100k
Mid-level -- $100k-$140k
Senior -- $140k-$180k
Senior/Management - $180k-$200k

Does this suck? Would appreciate feedback as the average rates I see on Google don't seem to align with what I see in this subreddit.


Ty!

https://redd.it/ogxryu
@r_devops
NewRelic

When I connect to a website using newrelic, certain pages show in uBlock Origin that I connect to log-api.newrelic.com. Other pages (such as the home page or other navigation pages) only show me connecting to js-agent.newrelic.com. I just wanted to know why this is the case? Thank you!

https://redd.it/ogwtmx
@r_devops
Looking for high quality advanced training in Devops topics ?

I checked out a lot of resources in udemy, kodekloud, and LinkedIn but they are very beginner focused and it’s like deploy hello world or create a Docker container

Where I can learn advanced topics or practice labs that are complex and can prepare you for interviews?

Something like build a full CiCd pipeline with testing and code coverage linking several repositories

Are there some good GitHub forkable projects to play around with? I prefer the structure of a course or video to understand the concepts and how and why

Expectation from interview is you know it way in depth and not basic “what is a vm vs container”

Preferably want to learn more about nginx ingress controller, service meshes, and Gitops. I just see companies say they are looking for terraform and kubernetes experiences, with Cicd

It can be a huge monster in how complex it is.. and I want to learn concepts someone who is a subject matter expert

I found books to be more detailed and technical .. a lot of video content is basic YouTube explain a concept but it’s on a high school level or very general

Or they talk theory when you should know in’s and outs, gotchas, and industry best practices .. it’s super rare to find these training materials

Do you guys craft your own training study agenda and work to make progress? It’s easy to hit a ceiling where your skills are not leveling up because the practice is not challenging enough

https://redd.it/ohhajc
@r_devops
Deploying a .netcore app on elastic beanstalk

I have been trying to deploy a .netcore app on elastic beanstalk using amazon linux 2 and .netcore 2.1 with nginx and getting a unhandled exception error.
I have been also manually trying to deploy on a instance as well and having issue with the same error. Here is the error,

web: Unhandled Exception: System.Security.Cryptography.CryptographicException: Unix LocalMachine X509Store is limited to the Root and CertificateAuthority stores. ---> System.PlatformNotSupportedException: Unix LocalMachine X509Store is limited to the Root and CertificateAuthority stores.

From NGINX error log:
connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: , request: "GET / HTTP/1.1", upstream: "https://127.0.0.1:5000/", host: "xxx.xxx.xxx.xxx"

I have created a public certificate using aws cert manager and attached it to a load balancer on beanstalk configuration with enabling listen port for https.

Previously the development team was deploying on azure webapp where i have been told that azure itself used to attach a SSL certificate to its app or service and they had nothing to worry about.

Now they are planning to deploy on AWS as well. Which i am assigned to.

I have been trying to do this for a week and not able to deploy it with this Certificate error.

Any devops engineers who have worked with deploying .netcore app on linux?

Please advise/suggest if there is anything wrong or something that i am missing to do.

https://redd.it/ohi960
@r_devops
What DOES your position primarily CONSIST of?

How much time do you spend scripting vs managing configuration? Or do you end up coding a lot of solutions?

https://redd.it/ohj9u3
@r_devops
Cross Browser Testing - Why is it useful and how it's helped you?

Hey there devs, hope you guys are doing well.

​

What Cross Browser Testing Tool do you guys use and why?

​

And what do you guys love about using Cross Browser Testing Tools?

​

And what kind of big problems has it solved within your business or company you work for?

​

Would love to hear your guy's thoughts CC::

https://redd.it/ohl23p
@r_devops
Are we ever just DevOps

Forgive the rant and its meandering quality. Feeling extra low and stressed out about life and work right now. Rough Rough week.

A long term generalist who got roped into taking a DevOps job two months ago, without any specific DevOps experience and I'm starting to worry that I've bet on the wrong horse.

So I don't have a way to compare or have a reliable baseline to gauge my experience relative to the others in the industry.

We're a smallish company based in the South and I was told that since DevOps is a new culture in the company that it would be a unique time to really learn about the CI/CD process (we aren't doing either yet) and that they were ok with all of my knowledge gaps as long as I demonstrated a willingness and ability to learn.

Probably not atypical for a small shop, but they basically have 1 or 2 gatekeepers who've not documented what they've done, and have built a pretty impressive ansible infra that is largely self-explanatory, although not always.

This tightly coupled knowledge base kills me. It was what I've always fought against in other organizations so that we can empower other people and have less silos etc. It's like a boat anchor in this shop. And there is so much weird shit in this place. Legacy gear, windows shit, 10+ year CentOs boxes, FreeBSD, some awful VmWare Sphere clusters, some AWS and Google Cloud etc. So for me this is dizzying with stuff I know so so, and other parts that I'm clueless about.

I feel like I kind of put out fires and straddle sysAdmin/Linux desk jockey, and deploy jobs, add new deploys on top of existing ones, build out environments, but am not really solving real problems or contributing much because it takes so many asks to wrap my head around where something is because of the lack of documentation that my colleagues sometimes seem frustrated.

I use TeamCity and Jenkins but am not sure I could set shit up from scratch. It's like a Ground Hog Day type feeling with repeating the first day you tried riding a bike.

Finally, being on call...I'm on call every other week and getting AlertOps as 2am was not what I had in mind. Feel exhausted and inadequate. Not loving doing the late night deploys. Am I the only one that thinks it's fucked to work till two AM routinely?

Have others gone through this? Did you come out oK? My concern is that I've never been a Dev, just a scripter with Python and worry that I just don't have the mindset for this.

Maybe as a 30 something I've merely forgotten what growing pains are about and need to shift my mindset to the "i'm getting paid to learn cool shit" attitude.

Salaries at this job are also really high. A colleague was like, yeah, they pay about 30% over market rate so that they can just throw you to the wolves without any resources...

https://redd.it/ohjzqc
@r_devops
DevOps vs Fullstack Development

I'm currently a Fullstack Developer (mainly JS, but know my way around PHP, Java, Python, etc) with some DevOps knowledge (CI/CD using Jenkins, some AWS, Heroku and bash).
I'm in dilema if I should double down on the DevOps side, studying some Terraform and getting AWS certifications or continue more focused on the development side.
I want to evaluate the pros and cons of the 2 career paths. Right now, I think DevOps is winning:
- Easy way to have credentials with Certifications
- Higher paying opportunities
- Better scoped tasks: software is never done, you can say IaC is done if it doesn't breaks.
- More opportunities for freelancing: I see lots of startups in need of consultancy for building a scalable cloud infra.
Want to hear your folks opinions, what are the bad sides of DevOps work I'm missing? What are the advantages of SWE I'm not seeing? The best part for me in SWE is basically being more fun in general, but it surely can be cumbersome at times too.

https://redd.it/ohn4e4
@r_devops
Automation for ECS Fargate standalone tasks - does this even viable?

Good am guys, posting this question hoping for any valuable input.

So the situation is this, I'd been given a task requesting to come up with a solution for delivering an automated deployment of ECS Fargate tasks. Now, while it sounds trivial, in fact it does not seem so: among requirements there are 1 task definition for all tasks, each task should be able to override default environmental variables and as I understood that's the main reason on why they don't need ECS services.
So it has to be 1 task definition, no services and a fleet of tasks, each having unique env vars per tenant (customer).

And the other thing is that they don't need to build images as a part of this deployment/automation as they (devs) wish to take care of that someway else.

So far I've been trying to wrap my head around this for just a couple of days and have not yet had a chance to ask further questions or raise concerns (but inevitably that's gonna happen). Also the task itself is not new and there was the other guy which already worked on it for some time and suggested to create some Jenkins jobs to automate this. However, at this point, I feel like the whole concept is not really viable and all I can think of right now is a series of some bash scripts running awscli commands to start/run/stop tasks and probably creating task definition revisions.

The other way around could be a bunch of task definitions, each containing unique set of env vars, used by services and subsequently tasks. However, as they want various stages (dev, prod) and dozens of tenants, I'm not so sure in this method as well.

Anyways, I would really appreciate any insights concerning this matter. Has anyone had any similar tasks back in the day?

Thanks in advance!

p.s: Im really sorry for my illiterate english in here, it's not my native language.

https://redd.it/ohm4dt
@r_devops