Switching from devops to sysadmin
Hello, I've been working as a DevOps engineer for almost 4 years and now i got an offer for a sysadmin position. And the money is %40 more than my current. Learning vmware and datacenter operations could be useful but staying away from cloud may not be good for the future offerings. I'm little confused about this shift. What could be the possible pros and cons?
https://redd.it/lbszo3
@r_devops
Hello, I've been working as a DevOps engineer for almost 4 years and now i got an offer for a sysadmin position. And the money is %40 more than my current. Learning vmware and datacenter operations could be useful but staying away from cloud may not be good for the future offerings. I'm little confused about this shift. What could be the possible pros and cons?
https://redd.it/lbszo3
@r_devops
reddit
Switching from devops to sysadmin
Hello, I've been working as a DevOps engineer for almost 4 years and now i got an offer for a sysadmin position. And the money is %40 more than my...
Getting sick of AWS, anyone have anything else they like?
Hey I run the tech side of a mid size company. I have personally used AWS for over ten years and we've been using AWS at the company for three years.
Before AWS I was on bare metal and used things like cPanel and Parallels and was pretty blown away by AWS. AWS was pretty critical in us being able to scale to the level we needed and was super easy to use and programmable.
These days we are just having so many problems with it and I hate how they are trying to be a one stop shop for everything. We are trying to deploy a Kubernetes cluster that has a legal requirement to be multi cloud and have the ability to run bare metal, and I just feel like AWS is doing everything in their power to try to force me to use EKS. We try to hire certified AWS engineers and they have no idea how to do anything outside of AWS products.
We also use the Elastic Stack quite a bit and the feud between them and elastic is not sitting right with me. We also tried using the AWS Elastic but it's poorly maintained and inflexible for our very advance use case.
We also had an AWS rep try to help us migrate to serverless in regards to a service we had with lambdas and it almost shut down our entire company for a day because of a bug in lambda (this was a couple years ago) and ulimtately the lambdas performed so poorly we had to revert.
I know this is silly but I have been having so many problems then today the new UI just kept confusing me and not working and I just lost it. Also their documentation is trash. And we also we keep having weird inconsistencies with their APIs and the CLI....rant...
I have no used any other cloud provider in years so was just curious if there is a consensus for a very developer friendly cloud provider these days?
https://redd.it/lck072
@r_devops
Hey I run the tech side of a mid size company. I have personally used AWS for over ten years and we've been using AWS at the company for three years.
Before AWS I was on bare metal and used things like cPanel and Parallels and was pretty blown away by AWS. AWS was pretty critical in us being able to scale to the level we needed and was super easy to use and programmable.
These days we are just having so many problems with it and I hate how they are trying to be a one stop shop for everything. We are trying to deploy a Kubernetes cluster that has a legal requirement to be multi cloud and have the ability to run bare metal, and I just feel like AWS is doing everything in their power to try to force me to use EKS. We try to hire certified AWS engineers and they have no idea how to do anything outside of AWS products.
We also use the Elastic Stack quite a bit and the feud between them and elastic is not sitting right with me. We also tried using the AWS Elastic but it's poorly maintained and inflexible for our very advance use case.
We also had an AWS rep try to help us migrate to serverless in regards to a service we had with lambdas and it almost shut down our entire company for a day because of a bug in lambda (this was a couple years ago) and ulimtately the lambdas performed so poorly we had to revert.
I know this is silly but I have been having so many problems then today the new UI just kept confusing me and not working and I just lost it. Also their documentation is trash. And we also we keep having weird inconsistencies with their APIs and the CLI....rant...
I have no used any other cloud provider in years so was just curious if there is a consensus for a very developer friendly cloud provider these days?
https://redd.it/lck072
@r_devops
reddit
Getting sick of AWS, anyone have anything else they like?
Hey I run the tech side of a mid size company. I have personally used AWS for over ten years and we've been using AWS at the company for three...
what are the biggest sources of conflict with developers?
Title says it all.
https://redd.it/lckc7j
@r_devops
Title says it all.
https://redd.it/lckc7j
@r_devops
reddit
what are the biggest sources of conflict with developers?
Title says it all.
terratest - providers
Terratest nub here,
Trying to setup a basic module which deploys the loki-stack via helm_release.
I'm literally just trying to deploy the test to my local docker-desktop installation.
There is no provider specified in my project so this happens when I run tests:
TestTerraformBasicExample 2021-02-04T18:29:40Z logger.go:66: Error: Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETESMASTER environment variable
I don't particularly wish to maintain a configured provider spec in my module repo, it's not exactly relevant there.
Realistically the tests will be run in a pipeline and the provider config should be constructed from whichever sources are appropriate.
Can anyone advise on the standard method of configuring providers when using terratest?
tldr;
deploying helm\release with terratest, how to pass provider configuration into tests & not specify it alongside the terraform code.
https://redd.it/lcmk0o
@r_devops
Terratest nub here,
Trying to setup a basic module which deploys the loki-stack via helm_release.
I'm literally just trying to deploy the test to my local docker-desktop installation.
There is no provider specified in my project so this happens when I run tests:
TestTerraformBasicExample 2021-02-04T18:29:40Z logger.go:66: Error: Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETESMASTER environment variable
I don't particularly wish to maintain a configured provider spec in my module repo, it's not exactly relevant there.
Realistically the tests will be run in a pipeline and the provider config should be constructed from whichever sources are appropriate.
Can anyone advise on the standard method of configuring providers when using terratest?
tldr;
deploying helm\release with terratest, how to pass provider configuration into tests & not specify it alongside the terraform code.
https://redd.it/lcmk0o
@r_devops
reddit
terratest - providers
Terratest nub here, Trying to setup a basic module which deploys the loki-stack via helm\_release. I'm literally just trying to deploy the test...
How to get experience working on high scale systems?
I'm on the job market right now trying to get a job working on a high-scale system, but everything I've worked with has been relatively low-scale. The engineering and reliability issues on low-scale systems stop being interesting pretty quick.
The problem is that companies that have high-scale systems want to hire people who already have experience working on high-scale systems. I don't blame them for this. These companies are successful and can afford to be picky with hires.
So I'm in a catch-22 here. How do I get the experience without being able to work at a place where I can get the experience? I can side-project up pretty much any technology, but I can't side-project millions of users.
Is this just a case where because my first DevOps/SRE experience didn't have any high-scale systems means I just don't have any hope of landing a job working on high-scale systems?
https://redd.it/lco5wi
@r_devops
I'm on the job market right now trying to get a job working on a high-scale system, but everything I've worked with has been relatively low-scale. The engineering and reliability issues on low-scale systems stop being interesting pretty quick.
The problem is that companies that have high-scale systems want to hire people who already have experience working on high-scale systems. I don't blame them for this. These companies are successful and can afford to be picky with hires.
So I'm in a catch-22 here. How do I get the experience without being able to work at a place where I can get the experience? I can side-project up pretty much any technology, but I can't side-project millions of users.
Is this just a case where because my first DevOps/SRE experience didn't have any high-scale systems means I just don't have any hope of landing a job working on high-scale systems?
https://redd.it/lco5wi
@r_devops
reddit
How to get experience working on high scale systems?
I'm on the job market right now trying to get a job working on a high-scale system, but everything I've worked with has been relatively low-scale....
Why my Kubernetes Ingress doesn't expose service?
Hello, I have a kubernetes cluster bare metal, I use nginx ingress controller.
Whit the service ip works: curl serviceip:5678 returns "apple"
When I create and ingress I expect to se "apple" on a browser from the public ip of the master, but it doesn't happen.
There no firewall between nodes or me and the master.
Below the kubectl commands and the yaml for pod,service and ingress.
Thank you!
\- Pod:
*kubectl get pods -n ingress-nginx*
*NAME READY STATUS RESTARTS AGE*
*apple-app 1/1 Running 0 83m*
*ingress-nginx-controller-85df779996-4szh5 1/1 Running 6 27h*
\----
kind: Pod
apiVersion: v1
metadata:
name: apple-app
namespace: ingress-nginx
labels:
app: apple
spec:
containers:
\- name: apple-app
image: hashicorp/http-echo
args:
\- "-text=apple"
\-------
\- Service:
*kubectl describe svc apple-service -n ingress-nginx*
*Name: apple-service*
*Namespace: ingress-nginx*
*Labels: <none>*
*Annotations: <none>*
*Selector: app=apple*
*Type: ClusterIP*
*IP Families: <none>*
*IP:* [*10.102.31.58*](https://10.102.31.58/)
*IPs:* [*10.102.31.58*](https://10.102.31.58/)
*Port: <unset> 5678/TCP*
*TargetPort: 5678/TCP*
*Endpoints:* [*10.244.1.15:5678*](https://10.244.1.15:5678/)
*Session Affinity: None*
*Events: <none>*
\------
kind: Service
apiVersion: v1
metadata:
name: apple-service
namespace: ingress-nginx
spec:
selector:
app: apple
ports:
\- port: 5678 # Default port for image
\--------------
\- Ingress:
*kubectl get ingress -n ingress-nginx*
*NAME CLASS HOSTS ADDRESS PORTS AGE*
*apple-ingress <none> \* 80 39s*
*kubectl describe ing apple-ingress -n ingress-nginx*
*Name: apple-ingress*
*Namespace: ingress-nginx*
*Address:* [*10.0.0.2*](https://10.0.0.2/)
*Default backend: default-http-backend:80 (<error: endpoints "default-http-backend" not found>)*
*Rules:*
*Host Path Backends*
*---- ---- --------*
*\**
*/ apple-service:5678 (*[*10.244.1.15:5678*](https://10.244.1.15:5678/)*)*
*Annotations:* [*kubernetes.io/ingress.class:*](https://kubernetes.io/ingress.class:) *nginx*
*Events:*
*Type Reason Age From Message*
*---- ------ ---- ---- -------*
*Normal Sync 88s (x2 over 2m13s) nginx-ingress-controller Scheduled for sync*
\--------------
apiVersion: [networking.k8s.io/v1](https://networking.k8s.io/v1)
kind: Ingress
metadata:
name: apple-ingress
namespace: ingress-nginx
annotations:
\# use the shared ingress-nginx
[kubernetes.io/ingress.class:](https://kubernetes.io/ingress.class:) nginx
spec:
rules:
\- http:
paths:
\- path: /
pathType: Prefix
backend:
service:
name: apple-service
port:
number: 5678
\------------
\- NGINX ingress controller
kubectl exec -it $POD\_NAME -n $POD\_NAMESPACE -- /nginx-ingress-controller --version
\-------------------------------------------------------------------------------
NGINX Ingress controller
Release: v0.43.0
Build: f3f6da12ac7c59b85ae7132f321bc3bcf144af04
Repository: [https://github.com/kubernetes/ingress-nginx](https://github.com/kubernetes/ingress-nginx)
nginx version: nginx/1.19.6
https://redd.it/lck69g
@r_devops
Hello, I have a kubernetes cluster bare metal, I use nginx ingress controller.
Whit the service ip works: curl serviceip:5678 returns "apple"
When I create and ingress I expect to se "apple" on a browser from the public ip of the master, but it doesn't happen.
There no firewall between nodes or me and the master.
Below the kubectl commands and the yaml for pod,service and ingress.
Thank you!
\- Pod:
*kubectl get pods -n ingress-nginx*
*NAME READY STATUS RESTARTS AGE*
*apple-app 1/1 Running 0 83m*
*ingress-nginx-controller-85df779996-4szh5 1/1 Running 6 27h*
\----
kind: Pod
apiVersion: v1
metadata:
name: apple-app
namespace: ingress-nginx
labels:
app: apple
spec:
containers:
\- name: apple-app
image: hashicorp/http-echo
args:
\- "-text=apple"
\-------
\- Service:
*kubectl describe svc apple-service -n ingress-nginx*
*Name: apple-service*
*Namespace: ingress-nginx*
*Labels: <none>*
*Annotations: <none>*
*Selector: app=apple*
*Type: ClusterIP*
*IP Families: <none>*
*IP:* [*10.102.31.58*](https://10.102.31.58/)
*IPs:* [*10.102.31.58*](https://10.102.31.58/)
*Port: <unset> 5678/TCP*
*TargetPort: 5678/TCP*
*Endpoints:* [*10.244.1.15:5678*](https://10.244.1.15:5678/)
*Session Affinity: None*
*Events: <none>*
\------
kind: Service
apiVersion: v1
metadata:
name: apple-service
namespace: ingress-nginx
spec:
selector:
app: apple
ports:
\- port: 5678 # Default port for image
\--------------
\- Ingress:
*kubectl get ingress -n ingress-nginx*
*NAME CLASS HOSTS ADDRESS PORTS AGE*
*apple-ingress <none> \* 80 39s*
*kubectl describe ing apple-ingress -n ingress-nginx*
*Name: apple-ingress*
*Namespace: ingress-nginx*
*Address:* [*10.0.0.2*](https://10.0.0.2/)
*Default backend: default-http-backend:80 (<error: endpoints "default-http-backend" not found>)*
*Rules:*
*Host Path Backends*
*---- ---- --------*
*\**
*/ apple-service:5678 (*[*10.244.1.15:5678*](https://10.244.1.15:5678/)*)*
*Annotations:* [*kubernetes.io/ingress.class:*](https://kubernetes.io/ingress.class:) *nginx*
*Events:*
*Type Reason Age From Message*
*---- ------ ---- ---- -------*
*Normal Sync 88s (x2 over 2m13s) nginx-ingress-controller Scheduled for sync*
\--------------
apiVersion: [networking.k8s.io/v1](https://networking.k8s.io/v1)
kind: Ingress
metadata:
name: apple-ingress
namespace: ingress-nginx
annotations:
\# use the shared ingress-nginx
[kubernetes.io/ingress.class:](https://kubernetes.io/ingress.class:) nginx
spec:
rules:
\- http:
paths:
\- path: /
pathType: Prefix
backend:
service:
name: apple-service
port:
number: 5678
\------------
\- NGINX ingress controller
kubectl exec -it $POD\_NAME -n $POD\_NAMESPACE -- /nginx-ingress-controller --version
\-------------------------------------------------------------------------------
NGINX Ingress controller
Release: v0.43.0
Build: f3f6da12ac7c59b85ae7132f321bc3bcf144af04
Repository: [https://github.com/kubernetes/ingress-nginx](https://github.com/kubernetes/ingress-nginx)
nginx version: nginx/1.19.6
https://redd.it/lck69g
@r_devops
Migrating to devops from old-school style of working
tl;dr we migrated to git 2-3 years ago, and basically the only thing I could achieve in the last half year was getting rid of the physical machines we had and replace them with VM's(manually managed with RDP/ssh). How to plan a migration to infrastructure/configuration as code way of working?
So I want to devops the shit out our development cycle, but don't know where to start. We're currently running everything in hand-managed systems using a combination of Jenkins, Bitbucket and Artifactory. Other than that it's basically all old-school. Developers have barely heard of Docker or containers. Where the hell do I start? How do I convince management that we need to overhaul our entire infrastructure for our build systems? I need an action plan with demos and hard numbers here, but am feeling a bit lost.
It's currently not possible to do IaC since everything is internal and VM's are manually requested through a service portal(no automation possible, this is the next-next step I want to fix but I would have to go against a global IT department that has way more "power" than I do, ignore it for now).
However I want to change everything to automated configuration. I've already tried out Ansible to install some basic packages on these VM's(which have custom rules/firewalls/sccm on top, which makes it hard to configure properly), but I get the feeling the added value of doing it like this is lost of most people I've shown it to. "I could've done that in a single command" or "I could've scripted that in bash" are common remarks. Keep in mind these are senior developers and managers, and if I can't convince them I might as well stop.
Where do I start? Should I just demo it on AWS which we'll never use(has to be internal)? Should I set up DevStack and run it on that? I need an action plan, but have no idea how to approach this. Suggestions/tips/links/resources would be appreciated.
https://redd.it/lcgebf
@r_devops
tl;dr we migrated to git 2-3 years ago, and basically the only thing I could achieve in the last half year was getting rid of the physical machines we had and replace them with VM's(manually managed with RDP/ssh). How to plan a migration to infrastructure/configuration as code way of working?
So I want to devops the shit out our development cycle, but don't know where to start. We're currently running everything in hand-managed systems using a combination of Jenkins, Bitbucket and Artifactory. Other than that it's basically all old-school. Developers have barely heard of Docker or containers. Where the hell do I start? How do I convince management that we need to overhaul our entire infrastructure for our build systems? I need an action plan with demos and hard numbers here, but am feeling a bit lost.
It's currently not possible to do IaC since everything is internal and VM's are manually requested through a service portal(no automation possible, this is the next-next step I want to fix but I would have to go against a global IT department that has way more "power" than I do, ignore it for now).
However I want to change everything to automated configuration. I've already tried out Ansible to install some basic packages on these VM's(which have custom rules/firewalls/sccm on top, which makes it hard to configure properly), but I get the feeling the added value of doing it like this is lost of most people I've shown it to. "I could've done that in a single command" or "I could've scripted that in bash" are common remarks. Keep in mind these are senior developers and managers, and if I can't convince them I might as well stop.
Where do I start? Should I just demo it on AWS which we'll never use(has to be internal)? Should I set up DevStack and run it on that? I need an action plan, but have no idea how to approach this. Suggestions/tips/links/resources would be appreciated.
https://redd.it/lcgebf
@r_devops
reddit
Migrating to devops from old-school style of working
tl;dr we migrated to git 2-3 years ago, and basically the only thing I could achieve in the last half year was getting rid of the physical...
Packer+QEMU+GitLab CI = Can't SSH
Hey all, I've got a local offline GitLab CI instance and I'm trying to deploy a new QEMU disk using Packer and I'm running into issues. Everything works locally on my machine, however on the gitlab-runner, it can't seem to connect through SSH and running with PACKER\_LOG=1 doesn't provide any insight - it just keeps attempting SSH and failing, which is "normal" and happens locally as well until the reboot and then it succeeds. I'll provide the files in play here with some of the "fluff" snipped out and if anyone spots something I may be missing or knows the issue, please let me know!
[deploy.sh](https://deploy.sh) which is called from the GitLab CI pipe:
...
CHECKPOINT_DISABLE=1 PACKER_LOG=1 packer build -var "http_path=${CI_PROJECT_PATH}" \
-var "vm_name=IFS_${CI_COMMIT_BRANCH}_${CI_COMMIT_TIMESTAMP}" \
-var "iso_url=file:/builds/${CI_PROJECT_PATH}/utilities/packer/CentOS-${CENTOS_VERSION}.iso" \
-var "kickstart=centos7-ks.cfg" \
-var "ssh_pass=${PACKER_SSH_PASS}" \
IFS_minimal.pkr.hcl
...
IFS\_minimal.pkr.hcl
# Variables snipped, but they're all just strings
locals { boot_command = concat(["<tab> text ks=https://{{ .HTTPIP }}:{{ .HTTPPort }}/", var.kickstart, "<enter><wait>"])}
source "qemu" "centos7-minimal" {
accelerator = "kvm"
boot_command = local.boot_command
boot_wait = "3s"
disk_interface = "virtio"
disk_size = "5000M"
format = "qcow2"
headless = "true"
http_directory = var.http_path
iso_checksum = "md5:a4711c4fa6a1fb32bd555fae8d885b12"
iso_url = var.iso_url
net_device = "virtio-net"
output_directory = "packer_images"
shutdown_command = "echo 'packer' | sudo -S shutdown -P now"
ssh_username = "root"
ssh_password = var.ssh_pass
ssh_timeout = "25m"
vm_name = var.vm_name
}
build {
name = "Build 1"
sources = ["source.qemu.centos7-minimal"]
}
centos7-ks.cfg
...
network --bootproto=dhcp --device=eth0 --activate --noipv6
firewall --enabled --http --ssh
services --enabled=network,ssh
...
rootpw --plaintext XXXXXX #matching what's passed above in ${PACKER_SSH_PASS}
sshpw --username=root XXXXXX #matching what's passed above in ${PACKER_SSH_PASS}
reboot
%packages
@core
net-tools
libssh2.x86_64
openssh-clients.x86_64
openssh-server.x86_64
openssh.x86_64
%end
Dockerfile for the runner
...
RUN apk update && apk add --no-cache \
qemu-img \
qemu-system-x86_64 \
libvirt-daemon \
virt-manager \
openssh \
openssh-keygen
RUN adduser -D -S -h /home/gitlab-runner gitlab-runner && \
addgroup gitlab-runner qemu && \
addgroup gitlab-runner libvirt && \
addgroup root libvirt && \
addgroup root qemu
...
RUN sed -i s/#PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config \
&& echo "root:XXXXXX" | chpasswd #Same password as ${PACKER_SSH_PASS}
...
EXPOSE 22
https://redd.it/lco69c
@r_devops
Hey all, I've got a local offline GitLab CI instance and I'm trying to deploy a new QEMU disk using Packer and I'm running into issues. Everything works locally on my machine, however on the gitlab-runner, it can't seem to connect through SSH and running with PACKER\_LOG=1 doesn't provide any insight - it just keeps attempting SSH and failing, which is "normal" and happens locally as well until the reboot and then it succeeds. I'll provide the files in play here with some of the "fluff" snipped out and if anyone spots something I may be missing or knows the issue, please let me know!
[deploy.sh](https://deploy.sh) which is called from the GitLab CI pipe:
...
CHECKPOINT_DISABLE=1 PACKER_LOG=1 packer build -var "http_path=${CI_PROJECT_PATH}" \
-var "vm_name=IFS_${CI_COMMIT_BRANCH}_${CI_COMMIT_TIMESTAMP}" \
-var "iso_url=file:/builds/${CI_PROJECT_PATH}/utilities/packer/CentOS-${CENTOS_VERSION}.iso" \
-var "kickstart=centos7-ks.cfg" \
-var "ssh_pass=${PACKER_SSH_PASS}" \
IFS_minimal.pkr.hcl
...
IFS\_minimal.pkr.hcl
# Variables snipped, but they're all just strings
locals { boot_command = concat(["<tab> text ks=https://{{ .HTTPIP }}:{{ .HTTPPort }}/", var.kickstart, "<enter><wait>"])}
source "qemu" "centos7-minimal" {
accelerator = "kvm"
boot_command = local.boot_command
boot_wait = "3s"
disk_interface = "virtio"
disk_size = "5000M"
format = "qcow2"
headless = "true"
http_directory = var.http_path
iso_checksum = "md5:a4711c4fa6a1fb32bd555fae8d885b12"
iso_url = var.iso_url
net_device = "virtio-net"
output_directory = "packer_images"
shutdown_command = "echo 'packer' | sudo -S shutdown -P now"
ssh_username = "root"
ssh_password = var.ssh_pass
ssh_timeout = "25m"
vm_name = var.vm_name
}
build {
name = "Build 1"
sources = ["source.qemu.centos7-minimal"]
}
centos7-ks.cfg
...
network --bootproto=dhcp --device=eth0 --activate --noipv6
firewall --enabled --http --ssh
services --enabled=network,ssh
...
rootpw --plaintext XXXXXX #matching what's passed above in ${PACKER_SSH_PASS}
sshpw --username=root XXXXXX #matching what's passed above in ${PACKER_SSH_PASS}
reboot
%packages
@core
net-tools
libssh2.x86_64
openssh-clients.x86_64
openssh-server.x86_64
openssh.x86_64
%end
Dockerfile for the runner
...
RUN apk update && apk add --no-cache \
qemu-img \
qemu-system-x86_64 \
libvirt-daemon \
virt-manager \
openssh \
openssh-keygen
RUN adduser -D -S -h /home/gitlab-runner gitlab-runner && \
addgroup gitlab-runner qemu && \
addgroup gitlab-runner libvirt && \
addgroup root libvirt && \
addgroup root qemu
...
RUN sed -i s/#PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config \
&& echo "root:XXXXXX" | chpasswd #Same password as ${PACKER_SSH_PASS}
...
EXPOSE 22
https://redd.it/lco69c
@r_devops
retaining exit code
I have an rsync that that is piped to a
rsync some-files remote-location | sed 's/\r/\n/g'
Problem is, the thing that runs it and reads the output, is a python code. Because it is piped into a sed, even though it fails sometimes, it still returns succesful.
Is it possible to have it return the success code based on the
https://redd.it/lcl6zg
@r_devops
I have an rsync that that is piped to a
sed. it looks something like this:rsync some-files remote-location | sed 's/\r/\n/g'
Problem is, the thing that runs it and reads the output, is a python code. Because it is piped into a sed, even though it fails sometimes, it still returns succesful.
Is it possible to have it return the success code based on the
rsync? Thanks ahead!https://redd.it/lcl6zg
@r_devops
reddit
retaining exit code
I have an rsync that that is piped to a `sed`. it looks something like this: rsync *some-files* *remote-location* | sed 's/\r/\n/g' Problem...
Change in devops workload after move to Kubernetes
If your company/shop made a move to kubernetes, as a devops team after you setup the kubernetes cluster, do you see reduced workload in devops and maybe more into observability/monitoring?
https://redd.it/lcndpa
@r_devops
If your company/shop made a move to kubernetes, as a devops team after you setup the kubernetes cluster, do you see reduced workload in devops and maybe more into observability/monitoring?
https://redd.it/lcndpa
@r_devops
reddit
Change in devops workload after move to Kubernetes
If your company/shop made a move to kubernetes, as a devops team after you setup the kubernetes cluster, do you see reduced workload in devops and...
What is the better approach to Helm charts with the same specification?
Is it worth to duplicate Helm charts if the application is different, but has the same template, except the docker image used for it. A simplified example is if you have like 5 sites, all of them are a static site (or some simple services). All of them has the same requirements like deployment, service, hpa and other. The only difference is the domain and the docker image.
It sounds logical to just use the same chart and create a different values yaml file for each, but is it a "best practice"? Would it be wiser to duplicate the chart for it? Or creating a chart with sub-charts?
Right now I have a chart for each of them, but when something changes, it's a bit of pain to update everywhere. It has better control over what happens in there, but painful.
https://redd.it/lchg6l
@r_devops
Is it worth to duplicate Helm charts if the application is different, but has the same template, except the docker image used for it. A simplified example is if you have like 5 sites, all of them are a static site (or some simple services). All of them has the same requirements like deployment, service, hpa and other. The only difference is the domain and the docker image.
It sounds logical to just use the same chart and create a different values yaml file for each, but is it a "best practice"? Would it be wiser to duplicate the chart for it? Or creating a chart with sub-charts?
Right now I have a chart for each of them, but when something changes, it's a bit of pain to update everywhere. It has better control over what happens in there, but painful.
https://redd.it/lchg6l
@r_devops
reddit
What is the better approach to Helm charts with the same...
Is it worth to duplicate Helm charts if the application is different, but has the same template, except the docker image used for it. A simplified...
IaC and DevOps Standards for Azure Kubernetes Service
Is there an infrastructure as code and DevOps standardization and best practices that people would recommend like using github and ACR tasks to automatically push images then idk does that update ACI which then connectors update AKS. Whats the latest and greatest way
https://redd.it/lclgwx
@r_devops
Is there an infrastructure as code and DevOps standardization and best practices that people would recommend like using github and ACR tasks to automatically push images then idk does that update ACI which then connectors update AKS. Whats the latest and greatest way
https://redd.it/lclgwx
@r_devops
reddit
IaC and DevOps Standards for Azure Kubernetes Service
Is there an infrastructure as code and DevOps standardization and best practices that people would recommend like using github and ACR tasks to...
We're trying to pick an apm ... has new relic changed for the better?
Saw that new relic made some changes (about time) to their pricing, integrations w/ OpenTelemetry and Grafana, and better alerting.
I used new relic before, but it has been a few years. Wasn't a fan at the time, but we're thinking about it now. I'm hoping to hear from people that use new relic if these changes are actually a big deal or if it's same old new relic, lol.
View Poll
https://redd.it/lchjbr
@r_devops
Saw that new relic made some changes (about time) to their pricing, integrations w/ OpenTelemetry and Grafana, and better alerting.
I used new relic before, but it has been a few years. Wasn't a fan at the time, but we're thinking about it now. I'm hoping to hear from people that use new relic if these changes are actually a big deal or if it's same old new relic, lol.
View Poll
https://redd.it/lchjbr
@r_devops
reddit
We're trying to pick an apm ... has new relic changed for the better?
Saw that new relic made some changes (about time) to their pricing, integrations w/ OpenTelemetry and Grafana, and better alerting. I used new...
What monitoring tool should I use to monitor the sass services I use?
I want to monitor and receive alerts when the integration whit these services don't work as expected. For example y need to receive an email if we stopped receiving new leads in hubspot, or if our zappier zap stopped triggering.
What are the best tool for this?
https://redd.it/lcexp5
@r_devops
I want to monitor and receive alerts when the integration whit these services don't work as expected. For example y need to receive an email if we stopped receiving new leads in hubspot, or if our zappier zap stopped triggering.
What are the best tool for this?
https://redd.it/lcexp5
@r_devops
reddit
What monitoring tool should I use to monitor the sass services I use?
I want to monitor and receive alerts when the integration whit these services don't work as expected. For example y need to receive an email if we...
deploying project using Travis Ci and AWS EC2 through ssh
I have a laravel project deployed on AWS ec2 instance and I want to use Travis as CI/CD service but I want to write the .travis.yml script after_success to connect to ec2 through ssh and go to the project directory and pull the project using a git repository. so how can I do this
https://redd.it/lcej59
@r_devops
I have a laravel project deployed on AWS ec2 instance and I want to use Travis as CI/CD service but I want to write the .travis.yml script after_success to connect to ec2 through ssh and go to the project directory and pull the project using a git repository. so how can I do this
https://redd.it/lcej59
@r_devops
reddit
deploying project using Travis Ci and AWS EC2 through ssh
I have a laravel project deployed on AWS ec2 instance and I want to use Travis as CI/CD service but I want to write the .travis.yml script...
Once you identify a code issue, what do you do in order to help developers debug/replicate the issue? Do they look at the issue in production?
Title says it all
https://redd.it/ld1s06
@r_devops
Title says it all
https://redd.it/ld1s06
@r_devops
reddit
Once you identify a code issue, what do you do in order to help...
Title says it all
automating terraform
Does anyone have reference to a fully working model of terraform CI/CD.
Looking to identify best practice in automation.
would like to see,
\- security testing
\- code quality
\- unit tests
\- module publishing
Would be great to hear peoples checklists for pipelines too
https://redd.it/lccm1z
@r_devops
Does anyone have reference to a fully working model of terraform CI/CD.
Looking to identify best practice in automation.
would like to see,
\- security testing
\- code quality
\- unit tests
\- module publishing
Would be great to hear peoples checklists for pipelines too
https://redd.it/lccm1z
@r_devops
reddit
automating terraform
Does anyone have reference to a fully working model of terraform CI/CD. Looking to identify best practice in automation. would like to see, \-...
Thoughts on Google IT Automation with Python certification program on Coursera
So I'm a former English teacher with a Master's degree in Composition and Rhetoric but for several reasons I want to make a career change. It's not really safe to teach right now because of the pandemic and I'm high risk for complications since I'm pregnant. My husband is killing himself working 2 jobs to make up for my lost income and frankly my income as a teacher was crap. So I wanted to learn a skill where I could make a good salary so my husband doesn't have to work so hard. And dangit I'd like to be capable of earning the kind of salary my husband does (even if it's just 81 cents for every dollar he makes lol). Anyway the fact of the matter is that I'm home full time so there isn't any reason I shouldn't be learning something new in the meantime.
Anyway, over the last year I've dabbled in C#, Go, Unity and Python but haven't quite stuck with anything just yet.
Today I signed up for two certification courses on Coursera. The Google IT Automation with Python specialization and the Google IT support specialization since I have zero background in IT.
Since my only real experience with tech is watching my husband go from IT to Senior Dev in 3 years, I'm not exactly sure what kinds of jobs to aim for when I feel ready to start applying for work. I had seen that a lot of the instructors in my courses were System Admins so I had asked my husband if that's where I should start and he said that I could do something like Cloud DevOps. So I've been doing some research and it seems that one does not simply apply for a devops position. It sounds as if I would need to start in an entry level IT role and work my up into one.
So is my understanding correct? If not could anyone fill in the gaps of what I'm missing? And does anyone have insight in certification programs like the ones I've started? Is it worth the 50-100 dollars a month?
I should add that I have a severe case of ADHD and can't medicate right now because I'm pregnant. So I thought that the structure and community that's built into these courses would be beneficial for my learning needs.
https://redd.it/lc6qt8
@r_devops
So I'm a former English teacher with a Master's degree in Composition and Rhetoric but for several reasons I want to make a career change. It's not really safe to teach right now because of the pandemic and I'm high risk for complications since I'm pregnant. My husband is killing himself working 2 jobs to make up for my lost income and frankly my income as a teacher was crap. So I wanted to learn a skill where I could make a good salary so my husband doesn't have to work so hard. And dangit I'd like to be capable of earning the kind of salary my husband does (even if it's just 81 cents for every dollar he makes lol). Anyway the fact of the matter is that I'm home full time so there isn't any reason I shouldn't be learning something new in the meantime.
Anyway, over the last year I've dabbled in C#, Go, Unity and Python but haven't quite stuck with anything just yet.
Today I signed up for two certification courses on Coursera. The Google IT Automation with Python specialization and the Google IT support specialization since I have zero background in IT.
Since my only real experience with tech is watching my husband go from IT to Senior Dev in 3 years, I'm not exactly sure what kinds of jobs to aim for when I feel ready to start applying for work. I had seen that a lot of the instructors in my courses were System Admins so I had asked my husband if that's where I should start and he said that I could do something like Cloud DevOps. So I've been doing some research and it seems that one does not simply apply for a devops position. It sounds as if I would need to start in an entry level IT role and work my up into one.
So is my understanding correct? If not could anyone fill in the gaps of what I'm missing? And does anyone have insight in certification programs like the ones I've started? Is it worth the 50-100 dollars a month?
I should add that I have a severe case of ADHD and can't medicate right now because I'm pregnant. So I thought that the structure and community that's built into these courses would be beneficial for my learning needs.
https://redd.it/lc6qt8
@r_devops
reddit
Thoughts on Google IT Automation with Python certification program...
So I'm a former English teacher with a Master's degree in Composition and Rhetoric but for several reasons I want to make a career change. It's...
Build & deploy individual apps from a monorepo
# My Proposed Monorepo Architecture
Monorepo architecture pic
This layout is what I've come up with from reading through tons of articles and being convinced that Nx suits many of our needs where I work. The layout works fine for a company of this size because we need opinionated architecture to keep things running smoothly.
## Goal
I want to achieve isolated development, testing, and deployment while using a monorepo.
I have a few concerns with common workflows that I'm not sure how to approach just yet.
## Questions
Case 1: I want to work only on homepage, how can I avoid having to have the entire mono repo locally?
- I read about how Microsoft solved for this, but we don't have access to Azure DevOps at the moment and I wonder if this isn't solvable in some other way. Also, the open source tool they built requires a platform compatible with it, such as Azure DevOps.
- Are Git subtrees a solve for this? Would my monorepo look like a collection of child repos (subtrees) that, in reality, live in their own repos, and are just declared here for build/deploy reasons? This seems to ruin all the benefits of having a mono repo in the first place.
Case 2: I want to deploy changes I made to the homepage app without having to build & deploy every app in the monorepo. How?
- Is Jenkins able to use Webpack to solve for this and build & deploy only specified apps or changed apps? Even if all of it is in a single repo?
This may be a simple case of not knowing what to search for, but federated modules and monorepos are also relatively new.
https://redd.it/lc6ovb
@r_devops
# My Proposed Monorepo Architecture
Monorepo architecture pic
This layout is what I've come up with from reading through tons of articles and being convinced that Nx suits many of our needs where I work. The layout works fine for a company of this size because we need opinionated architecture to keep things running smoothly.
## Goal
I want to achieve isolated development, testing, and deployment while using a monorepo.
I have a few concerns with common workflows that I'm not sure how to approach just yet.
## Questions
Case 1: I want to work only on homepage, how can I avoid having to have the entire mono repo locally?
- I read about how Microsoft solved for this, but we don't have access to Azure DevOps at the moment and I wonder if this isn't solvable in some other way. Also, the open source tool they built requires a platform compatible with it, such as Azure DevOps.
- Are Git subtrees a solve for this? Would my monorepo look like a collection of child repos (subtrees) that, in reality, live in their own repos, and are just declared here for build/deploy reasons? This seems to ruin all the benefits of having a mono repo in the first place.
Case 2: I want to deploy changes I made to the homepage app without having to build & deploy every app in the monorepo. How?
- Is Jenkins able to use Webpack to solve for this and build & deploy only specified apps or changed apps? Even if all of it is in a single repo?
This may be a simple case of not knowing what to search for, but federated modules and monorepos are also relatively new.
https://redd.it/lc6ovb
@r_devops
My first month of being a DevOps freelancer
Me sharing the story about my first month of being a freelance DevOps Engineer. Feel free to reach out if you are thinking about doing the same.
https://brennerm.github.io/posts/first-month-of-self-employment.html
https://redd.it/ld9eg6
@r_devops
Me sharing the story about my first month of being a freelance DevOps Engineer. Feel free to reach out if you are thinking about doing the same.
https://brennerm.github.io/posts/first-month-of-self-employment.html
https://redd.it/ld9eg6
@r_devops
Max Brenner
My first month of self-employment
A summary of my first month being self-employed
Having trouble deploying SSIS from cloud to on prem
So I am new to devops and I have been playing around with trying to duplicate the existing deployment system that I built myself. I got the SSRS to deploy using a powershell script, however I can't seem to get SSIS deploy to work. I have setup my releases pipeline and my deployment group fine, however it seems that the ispac file needs to reside on the actual server I am deploying on? I have noticed that when I build the project in azure using an agent task, it creates the ispac file in the temporary working folder but the Deployment group job cannot seem to access that file. So I have tried copying the ispac file using the file copy to windows task, but it can't see my server's unc path. Any help would greatly be appreciated. Thank you.
https://redd.it/ld95hi
@r_devops
So I am new to devops and I have been playing around with trying to duplicate the existing deployment system that I built myself. I got the SSRS to deploy using a powershell script, however I can't seem to get SSIS deploy to work. I have setup my releases pipeline and my deployment group fine, however it seems that the ispac file needs to reside on the actual server I am deploying on? I have noticed that when I build the project in azure using an agent task, it creates the ispac file in the temporary working folder but the Deployment group job cannot seem to access that file. So I have tried copying the ispac file using the file copy to windows task, but it can't see my server's unc path. Any help would greatly be appreciated. Thank you.
https://redd.it/ld95hi
@r_devops
reddit
Having trouble deploying SSIS from cloud to on prem
So I am new to devops and I have been playing around with trying to duplicate the existing deployment system that I built myself. I got the SSRS...