What is the best way to manage a database that requires migrations to be run on it?
My problem: I don't want to deploy a codebase to my production server where my database isn't up to date.
My Goal: I don't want to manually run migrations on the database every time I deploy. It feels error prone. Ideally I have an environment where I can create a staging environment, sync the DB's, run migrations, run end to end tests, and then route traffic to the new version.
What do you think? Where should I look to get started?
Edit: My stack is django/postgresql/Reactjs and I am planning on integrating Kubernetes. Deploying to Google App Engine.
https://redd.it/f4ura3
@r_devops
My problem: I don't want to deploy a codebase to my production server where my database isn't up to date.
My Goal: I don't want to manually run migrations on the database every time I deploy. It feels error prone. Ideally I have an environment where I can create a staging environment, sync the DB's, run migrations, run end to end tests, and then route traffic to the new version.
What do you think? Where should I look to get started?
Edit: My stack is django/postgresql/Reactjs and I am planning on integrating Kubernetes. Deploying to Google App Engine.
https://redd.it/f4ura3
@r_devops
reddit
What is the best way to manage a database that requires migrations...
My problem: I don't want to deploy a codebase to my production server where my database isn't up to date. My Goal: I don't want to manually run...
How to handle integration/functional tests for an WebApi not accessible from pipeline(Azure)
I have been looking for the best way to handle tests for an Web Api. The service is only accessible from certain ip's and therefore I can't run the test (call the service) on the CI/CD agent.
How is this handled in the best way, I want to get the test results back to the CI.
​
I saw an old [post](https://www.reddit.com/r/devops/comments/bnh6fs/running_tests_in_k8s_like_with_dockercompose/) where u/forestjunk said something about kubectl exec to get the test results back, is this possible?
https://redd.it/f568g6
@r_devops
I have been looking for the best way to handle tests for an Web Api. The service is only accessible from certain ip's and therefore I can't run the test (call the service) on the CI/CD agent.
How is this handled in the best way, I want to get the test results back to the CI.
​
I saw an old [post](https://www.reddit.com/r/devops/comments/bnh6fs/running_tests_in_k8s_like_with_dockercompose/) where u/forestjunk said something about kubectl exec to get the test results back, is this possible?
https://redd.it/f568g6
@r_devops
reddit
Running tests in k8s (like with docker-compose)
I'm currently trying to convert a CI/CD pipeline from docker-compose to k8s and am running into a few problems I seem to not find good solutions...
[QUESTIOIN]: About managed servers services
Hey y'all!
So I'm just wondering how do business like Media Temple and such offer managed servers services?
Do they have devops doing all the updates/upgrades/patches etc manually, or are the servers run with a bunch of custom scripts that do all the "managing" via cron?
I would think that having employees in charge of such duties will be super expensive...
Thank you!
https://redd.it/f54aos
@r_devops
Hey y'all!
So I'm just wondering how do business like Media Temple and such offer managed servers services?
Do they have devops doing all the updates/upgrades/patches etc manually, or are the servers run with a bunch of custom scripts that do all the "managing" via cron?
I would think that having employees in charge of such duties will be super expensive...
Thank you!
https://redd.it/f54aos
@r_devops
reddit
[QUESTIOIN]: About managed servers services
Hey y'all! So I'm just wondering how do business like Media Temple and such offer managed servers services? Do they have devops doing all the...
Monitoring and APM solutions for Kubernetes
Hey all, I was wondering what your company/team uses for monitoring your kubernetes clusters along with how you monitor the applications running on them? At my organization we previously had the prometheus-operator helm chart and were in the process of getting an EFK stack up but are opting for an enterprise solution that can combine all those metrics into a single pane for consumption. They want something a little less tied to IAC and with a more user friendly process for rules and alerting (dozens of developers will use our monitoring solution). So far we've looked at DataDog, WaveFront and NewRelic, but are leaning towards DataDog as we have some other servers being monitored on there already. I've been shocked at how unfriendly DataDog is with Kubernetes. It seems as though DataDog basically only provides node metrics as if they were just another host and shows container metrics in separate panes. There seems to be little cohesiveness of a "kubernetes environment" in DataDog. Additionally, the default dashboard (note, singular) is literally trash and there's no place for community dashboards. I've found that their APM solutions are promising, but present some configuration complications when it comes to running the agents in kubernetes. Surely lots of you out there have been solving problems like this, and I was just wondering what you guys use, what you like about it and what some of the challenges have been.
https://redd.it/f5z7js
@r_devops
Hey all, I was wondering what your company/team uses for monitoring your kubernetes clusters along with how you monitor the applications running on them? At my organization we previously had the prometheus-operator helm chart and were in the process of getting an EFK stack up but are opting for an enterprise solution that can combine all those metrics into a single pane for consumption. They want something a little less tied to IAC and with a more user friendly process for rules and alerting (dozens of developers will use our monitoring solution). So far we've looked at DataDog, WaveFront and NewRelic, but are leaning towards DataDog as we have some other servers being monitored on there already. I've been shocked at how unfriendly DataDog is with Kubernetes. It seems as though DataDog basically only provides node metrics as if they were just another host and shows container metrics in separate panes. There seems to be little cohesiveness of a "kubernetes environment" in DataDog. Additionally, the default dashboard (note, singular) is literally trash and there's no place for community dashboards. I've found that their APM solutions are promising, but present some configuration complications when it comes to running the agents in kubernetes. Surely lots of you out there have been solving problems like this, and I was just wondering what you guys use, what you like about it and what some of the challenges have been.
https://redd.it/f5z7js
@r_devops
reddit
Monitoring and APM solutions for Kubernetes
Hey all, I was wondering what your company/team uses for monitoring your kubernetes clusters along with how you monitor the applications running...
How do you work as a Agile team with DevOps and Microservices - from Feature split you o delivery?
Open for discussion. I’m interested in your way of doing DevOps and Microservices.
Today we have approximately 6 teams , each have a responsibility for a smaller area I.e. product. The competency balance between the team members within the same team is huge and therefore we end up with more “Frontend” developers than “Backend”.
Current way of working with the backlog items (PBI) is to horizontally split each PBI into Frontend and Backend with feature toggling capabilities.
Sure, we are working with Microservices and DevOps - but I would like to hear more about your way of working. How do you split the features into smaller releasable items and how do you work with CI/CD and releases.
https://redd.it/f5vr2x
@r_devops
Open for discussion. I’m interested in your way of doing DevOps and Microservices.
Today we have approximately 6 teams , each have a responsibility for a smaller area I.e. product. The competency balance between the team members within the same team is huge and therefore we end up with more “Frontend” developers than “Backend”.
Current way of working with the backlog items (PBI) is to horizontally split each PBI into Frontend and Backend with feature toggling capabilities.
Sure, we are working with Microservices and DevOps - but I would like to hear more about your way of working. How do you split the features into smaller releasable items and how do you work with CI/CD and releases.
https://redd.it/f5vr2x
@r_devops
reddit
How do you work as a Agile team with DevOps and Microservices -...
Open for discussion. I’m interested in your way of doing DevOps and Microservices. Today we have approximately 6 teams , each have a...
How to develop your Lambda Functions like a rockstar - our firsthand experience
Hey all - [thought I'd share some learnings and experiences](https://medium.com/@joel.tbarna/how-to-develop-your-lambda-functions-like-a-rockstar-7d9422259d57) we've had getting up-to-speed developing our application with just AWS Lambda. It was pretty slow at first but we've created a pretty solid strategy around locally developing and testing that may be helpful to anyone taking on the challenge of Serverless development.
Let me know if you have any questions! Happy to help where I can.
https://redd.it/f5w5ot
@r_devops
Hey all - [thought I'd share some learnings and experiences](https://medium.com/@joel.tbarna/how-to-develop-your-lambda-functions-like-a-rockstar-7d9422259d57) we've had getting up-to-speed developing our application with just AWS Lambda. It was pretty slow at first but we've created a pretty solid strategy around locally developing and testing that may be helpful to anyone taking on the challenge of Serverless development.
Let me know if you have any questions! Happy to help where I can.
https://redd.it/f5w5ot
@r_devops
Medium
How to develop your Lambda Functions like a rockstar
Here at Stavvy, we are using a Serverless approach to building our SaaS product and utilizing the Serverless Framework to develop our…
Azure DevOps Release and Build YAML Pipelines?
It does not appear that Azure DevOps has any official YAML Pipelines for Releases yet. I know they have multi stage Pipelines where you can put everything in one file. It does make sense to me to have everything in one file, but there are still some missing features.
In the meantime, are people getting by with multi stage pipelines or is anyone splitting it and creating 2 separate YAML files - one for Release and one for Build? I'm noticing one annoying detail in the latter approach.
https://redd.it/f618kc
@r_devops
It does not appear that Azure DevOps has any official YAML Pipelines for Releases yet. I know they have multi stage Pipelines where you can put everything in one file. It does make sense to me to have everything in one file, but there are still some missing features.
In the meantime, are people getting by with multi stage pipelines or is anyone splitting it and creating 2 separate YAML files - one for Release and one for Build? I'm noticing one annoying detail in the latter approach.
https://redd.it/f618kc
@r_devops
reddit
Azure DevOps Release and Build YAML Pipelines?
It does not appear that Azure DevOps has any official YAML Pipelines for Releases yet. I know they have multi stage Pipelines where you can put...
HashiTalks 2020!
HashiCorp is hosting a free, all-day, 100% online conference this Thursday February 20. Literarily 24 straight hours, 48 half-hour talks, given by community members (no HashiCorp pitches), revolving around HashiCorp tools but touching on other subjects like Kubernetes, cloud security, CI/CD, etc.
I'm not posting the link because I don't know if that can be considered vendor spam, but you can easily find it with a Google search. Or I can post it in a comment if an admin says it's ok :)
Full disclosure: I'm **not** a HashiCorp employee but I am a local HashiCorp Users Group organizer and I will give a talk on Vault and Kubernetes.
https://redd.it/f5v6qq
@r_devops
HashiCorp is hosting a free, all-day, 100% online conference this Thursday February 20. Literarily 24 straight hours, 48 half-hour talks, given by community members (no HashiCorp pitches), revolving around HashiCorp tools but touching on other subjects like Kubernetes, cloud security, CI/CD, etc.
I'm not posting the link because I don't know if that can be considered vendor spam, but you can easily find it with a Google search. Or I can post it in a comment if an admin says it's ok :)
Full disclosure: I'm **not** a HashiCorp employee but I am a local HashiCorp Users Group organizer and I will give a talk on Vault and Kubernetes.
https://redd.it/f5v6qq
@r_devops
reddit
HashiTalks 2020!
HashiCorp is hosting a free, all-day, 100% online conference this Thursday February 20. Literarily 24 straight hours, 48 half-hour talks, given by...
Starting from zero.
I have the opportunity to take over a deployment that is entirely manual at this point.
Some of it is in the cloud and some of it is on-prem.
At the moment there isn't much code, although the process needs to be started and stopped and paused, what is a wonderful way to do this utilizing an existing tool like gitlab?
The basic process at the moment is data is loaded into a few servers and then the processing is started and may need to be paused at some point and then restart it.
https://redd.it/f63gzg
@r_devops
I have the opportunity to take over a deployment that is entirely manual at this point.
Some of it is in the cloud and some of it is on-prem.
At the moment there isn't much code, although the process needs to be started and stopped and paused, what is a wonderful way to do this utilizing an existing tool like gitlab?
The basic process at the moment is data is loaded into a few servers and then the processing is started and may need to be paused at some point and then restart it.
https://redd.it/f63gzg
@r_devops
reddit
Starting from zero.
I have the opportunity to take over a deployment that is entirely manual at this point. Some of it is in the cloud and some of it is on-prem. At...
What is the best way to create a development server after you made a production server?
I've made a mistake of creating a production server without having a dev server.
I created a docker-compose file and then using Jenkins to build and deploy it to the dockerhub.
I've never created a dev environment, so I would like to get some tips on how to do it properly.
Do I just simply have to copy the docker-compose file and create a new Jenkins pipeline that pushes it to a different dockerhub repository?
Any tips would be great. Thanks in advance!
https://redd.it/f60tl9
@r_devops
I've made a mistake of creating a production server without having a dev server.
I created a docker-compose file and then using Jenkins to build and deploy it to the dockerhub.
I've never created a dev environment, so I would like to get some tips on how to do it properly.
Do I just simply have to copy the docker-compose file and create a new Jenkins pipeline that pushes it to a different dockerhub repository?
Any tips would be great. Thanks in advance!
https://redd.it/f60tl9
@r_devops
reddit
What is the best way to create a development server after you made...
I've made a mistake of creating a production server without having a dev server. I created a docker-compose file and then using Jenkins to build...
Brainstorm DevOps Analytics
Hello folks, I am working on a product proposal for creating analytics features on a DevOps platform. Looking for ideas on what key metrics/KPIs to include for the user personas. Also how should I go around building my customer strategy on this? I have looked into Azure and Broadcom offerings but I have been asked to focus more on Oracle Visual studio angle.
https://redd.it/f5vcxz
@r_devops
Hello folks, I am working on a product proposal for creating analytics features on a DevOps platform. Looking for ideas on what key metrics/KPIs to include for the user personas. Also how should I go around building my customer strategy on this? I have looked into Azure and Broadcom offerings but I have been asked to focus more on Oracle Visual studio angle.
https://redd.it/f5vcxz
@r_devops
reddit
Brainstorm DevOps Analytics
Hello folks, I am working on a product proposal for creating analytics features on a DevOps platform. Looking for ideas on what key metrics/KPIs...
Getting Started with Istio Using Docker Desktop - from the Docker blog
Cool blog post about setting up istio on Docker Desktop with kubernetes. I tried it, but when I run the setup I get EOF errors on a few of the installs and the kubectl checks after that don’t return what I want. Anyone else have any issues? It was my first time using Docker Desktop, I usually use it on Linux.
https://redd.it/f66jcd
@r_devops
Cool blog post about setting up istio on Docker Desktop with kubernetes. I tried it, but when I run the setup I get EOF errors on a few of the installs and the kubectl checks after that don’t return what I want. Anyone else have any issues? It was my first time using Docker Desktop, I usually use it on Linux.
https://redd.it/f66jcd
@r_devops
reddit
Getting Started with Istio Using Docker Desktop - from the Docker blog
Cool blog post about setting up istio on Docker Desktop with kubernetes. I tried it, but when I run the setup I get EOF errors on a few of the...
Help configuring haproxy as ingress in kubernetes
Hi,
I'm learning kubernetes and right now I'm trying to configure an ingress with haproxy in kubernetes. I can't get it to work. As it is configured as a NodePort, I was expecting to see the ports being active on the worker nodes where the controller is deployed, but that's not the case. At first, I was having some issues as my worker nodes had IPv6 disabled and the haproxy-ingress pod kepts crashing as it was trying to bind to ::::80 and ::::443. So I've tried to configure the configmap so it only bind to port :80 and :443 (ipv4)...but I just gave up on that and re-enabled IPv6. Now, the pod won't crash anymore, but I still don't see the ports listening in my worker nodes. The logs of haproxy-ingress say this (idk how relevant this is):
2020/02/18 20:44:21 HAProxy Ingress Controller v1.3.2 8fed7bc
2020/02/18 20:44:21 Build from: [email protected]:haproxytech/kubernetes-ingress.git
2020/02/18 20:44:21 Build date: 2020-02-12T15:23:39
2020/02/18 20:44:21 ConfigMap: default/haproxy-configmap
2020/02/18 20:44:21 Ingress class: haproxy
2020/02/18 20:44:21 Publish service:
2020/02/18 20:44:21 main.go:99: Default backend service: haproxy-controller/ingress-default-backend
2020/02/18 20:44:21 main.go:100: Default ssl certificate: /
2020/02/18 20:44:22 controller.go:97: Running with HA-Proxy version 2.0.11 2019/12/11 - https://haproxy.org/
2020/02/18 20:44:22 controller.go:102: Starting HAProxy with /etc/haproxy/haproxy.cfg
2020/02/18 20:44:22 controller.go:115: Running on haproxy-ingress-54847454-8jgzx
2020/02/18 20:44:22 controller.go:69: Running on Kubernetes version: v1.15.1 linux/amd64
\[WARNING\] 048/204422 (20) : Can't open server state file '/var/state/haproxy/global': No such file or directory
\[NOTICE\] 048/204422 (21) : New worker #1 (22) forked
2020/02/18 20:44:27 controller.go:369: Confiugring default\_backend ingress-default-backend from ingress DefaultService
2020/02/18 20:44:27 controller-haproxy.go:152: HAProxy reloaded
\[NOTICE\] 048/204427 (29) : New worker #1 (30) forked
Here it is the configuration used to do the deployment (basically, copy/paste from official doc). [https://pastebin.com/ubAM98a7](https://pastebin.com/ubAM98a7)
I'm a little lost right now...maybe I'm expecting something that it is not to be expected yet. Could you please share any ideas of what I may be missing or were to look for it?
Thank you very much!
PS1: Please advice if this subreddit is not accepting this kind of posts, I did not see any community rule saying otherwise.
PS2: I guess my last resort would be to create a new image with the desired configuration as I'm not even able to properly make it work...leave alone using the configmap. At this point, any help is welcome.
https://redd.it/f5yv7x
@r_devops
Hi,
I'm learning kubernetes and right now I'm trying to configure an ingress with haproxy in kubernetes. I can't get it to work. As it is configured as a NodePort, I was expecting to see the ports being active on the worker nodes where the controller is deployed, but that's not the case. At first, I was having some issues as my worker nodes had IPv6 disabled and the haproxy-ingress pod kepts crashing as it was trying to bind to ::::80 and ::::443. So I've tried to configure the configmap so it only bind to port :80 and :443 (ipv4)...but I just gave up on that and re-enabled IPv6. Now, the pod won't crash anymore, but I still don't see the ports listening in my worker nodes. The logs of haproxy-ingress say this (idk how relevant this is):
2020/02/18 20:44:21 HAProxy Ingress Controller v1.3.2 8fed7bc
2020/02/18 20:44:21 Build from: [email protected]:haproxytech/kubernetes-ingress.git
2020/02/18 20:44:21 Build date: 2020-02-12T15:23:39
2020/02/18 20:44:21 ConfigMap: default/haproxy-configmap
2020/02/18 20:44:21 Ingress class: haproxy
2020/02/18 20:44:21 Publish service:
2020/02/18 20:44:21 main.go:99: Default backend service: haproxy-controller/ingress-default-backend
2020/02/18 20:44:21 main.go:100: Default ssl certificate: /
2020/02/18 20:44:22 controller.go:97: Running with HA-Proxy version 2.0.11 2019/12/11 - https://haproxy.org/
2020/02/18 20:44:22 controller.go:102: Starting HAProxy with /etc/haproxy/haproxy.cfg
2020/02/18 20:44:22 controller.go:115: Running on haproxy-ingress-54847454-8jgzx
2020/02/18 20:44:22 controller.go:69: Running on Kubernetes version: v1.15.1 linux/amd64
\[WARNING\] 048/204422 (20) : Can't open server state file '/var/state/haproxy/global': No such file or directory
\[NOTICE\] 048/204422 (21) : New worker #1 (22) forked
2020/02/18 20:44:27 controller.go:369: Confiugring default\_backend ingress-default-backend from ingress DefaultService
2020/02/18 20:44:27 controller-haproxy.go:152: HAProxy reloaded
\[NOTICE\] 048/204427 (29) : New worker #1 (30) forked
Here it is the configuration used to do the deployment (basically, copy/paste from official doc). [https://pastebin.com/ubAM98a7](https://pastebin.com/ubAM98a7)
I'm a little lost right now...maybe I'm expecting something that it is not to be expected yet. Could you please share any ideas of what I may be missing or were to look for it?
Thank you very much!
PS1: Please advice if this subreddit is not accepting this kind of posts, I did not see any community rule saying otherwise.
PS2: I guess my last resort would be to create a new image with the desired configuration as I'm not even able to properly make it work...leave alone using the configmap. At this point, any help is welcome.
https://redd.it/f5yv7x
@r_devops
Pastebin
haproxy configuration - Pastebin.com
Azure Active directory Integration with Hasicorp Vault
I am trying to setup Azure AD authentication for vault,
I refered so many document but still I can not figure it out.
Please help If some did this. Thanks in advance
https://redd.it/f5tu28
@r_devops
I am trying to setup Azure AD authentication for vault,
I refered so many document but still I can not figure it out.
Please help If some did this. Thanks in advance
https://redd.it/f5tu28
@r_devops
reddit
Azure Active directory Integration with Hasicorp Vault
I am trying to setup Azure AD authentication for vault, I refered so many document but still I can not figure it out. Please help If some did...
Blog Post: Running PowerShell Scripts in Azure DevOps Pipelines (1 of 2)
Hey guys, I just wrote a shiny new blog post you may enjoy.
Summary: Understand how PowerShell scripts work in Azure DevOps pipelines and learn how to run them in this informative tutorial.
https://adamtheautomator.com/azure-devops-pipelines-powershell/
https://redd.it/f5sloo
@r_devops
Hey guys, I just wrote a shiny new blog post you may enjoy.
Summary: Understand how PowerShell scripts work in Azure DevOps pipelines and learn how to run them in this informative tutorial.
https://adamtheautomator.com/azure-devops-pipelines-powershell/
https://redd.it/f5sloo
@r_devops
Adam the Automator
PowerShell Scripting in Azure DevOps Pipelines (1 of 2)
Understand how PowerShell scripts work in Azure DevOps pipelines and learn how to run them in this informative tutorial.
Securely Access AWS Services from Google Kubernetes Engine (GKE)
It is not a rare case when an application running on Google Kubernetes Engine (GKE) needs to access Amazon Web Services (AWS) APIs. Any application has needs. Maybe it needs to run an analytics query on Amazon Redshift, access data stored in Amazon S3 bucket, convert text to speech with Amazon Polly or use any other AWS service. This multi-cloud scenario is common nowadays, as companies are working with multiple cloud providers.
Cross-cloud access introduces a new challenge; how to manage cloud credentials, required to access from one cloud provider to services running in the other. The naive approach, distributing and saving cloud provider secrets is not the most secure approach; distributing long-term credentials to each service, that needs to access AWS services, is challenging to manage and a potential security risk.
In my [blog post](https://blog.doit-intl.com/securely-access-aws-from-gke-dba1c6dbccba), backed by open source project [doitintl/gtoken](https://github.com/doitintl/gtoken), I show how to securely access AWS services from Google Kubernetes Engine (GKE) without storing/sharing long-term AWS credentials.
https://redd.it/f5sdvk
@r_devops
It is not a rare case when an application running on Google Kubernetes Engine (GKE) needs to access Amazon Web Services (AWS) APIs. Any application has needs. Maybe it needs to run an analytics query on Amazon Redshift, access data stored in Amazon S3 bucket, convert text to speech with Amazon Polly or use any other AWS service. This multi-cloud scenario is common nowadays, as companies are working with multiple cloud providers.
Cross-cloud access introduces a new challenge; how to manage cloud credentials, required to access from one cloud provider to services running in the other. The naive approach, distributing and saving cloud provider secrets is not the most secure approach; distributing long-term credentials to each service, that needs to access AWS services, is challenging to manage and a potential security risk.
In my [blog post](https://blog.doit-intl.com/securely-access-aws-from-gke-dba1c6dbccba), backed by open source project [doitintl/gtoken](https://github.com/doitintl/gtoken), I show how to securely access AWS services from Google Kubernetes Engine (GKE) without storing/sharing long-term AWS credentials.
https://redd.it/f5sdvk
@r_devops
Medium
Securely Access AWS from GKE
It is not a rare case when an application running on Google Kubernetes Engine (GKE) needs to access Amazon Web Services (AWS) APIs. Any…
Waiting times and context switches - how do you handle them?
If the developer user experience in a company is good, you can get to work, start working on your daily tasks, and enjoy a blissful flow state for hours while tackling useful tasks at your own pace. If the development environment is well-designed, the iteration times between making a change and getting feedback (through tests or on the screen) are very short and feel satisfying.
Now, compare this to the experience on the infra-side of things. Long waiting times are the norm. The usual workflow is to apply changes, do something else and check for the results every now and then.
More-or-less blocking workflows, big delays, the need to do busy waiting or frequent context switching seem to be widely accepted as a given.
How are you handling those rough, but only infrequently discussed daily obstacles to focused work?
* How do you handle regular waiting times and delays?
* How do you approach multi-tasking and forced context switches?
* Have you put special effort into taming your (AWS, Docker, k8s) workflows and have tips to share?
I'm looking forward to learn more and share fixes, or at least to join in on the venting.
https://redd.it/f5pjzr
@r_devops
If the developer user experience in a company is good, you can get to work, start working on your daily tasks, and enjoy a blissful flow state for hours while tackling useful tasks at your own pace. If the development environment is well-designed, the iteration times between making a change and getting feedback (through tests or on the screen) are very short and feel satisfying.
Now, compare this to the experience on the infra-side of things. Long waiting times are the norm. The usual workflow is to apply changes, do something else and check for the results every now and then.
More-or-less blocking workflows, big delays, the need to do busy waiting or frequent context switching seem to be widely accepted as a given.
How are you handling those rough, but only infrequently discussed daily obstacles to focused work?
* How do you handle regular waiting times and delays?
* How do you approach multi-tasking and forced context switches?
* Have you put special effort into taming your (AWS, Docker, k8s) workflows and have tips to share?
I'm looking forward to learn more and share fixes, or at least to join in on the venting.
https://redd.it/f5pjzr
@r_devops
reddit
Waiting times and context switches - how do you handle them?
If the developer user experience in a company is good, you can get to work, start working on your daily tasks, and enjoy a blissful flow state for...
How does a consumer receive a message from a message broker?
I have learned from *Data Intensive Applications* book that
> A widely used alternative is to send messages via a message broker (also known as a
message queue), which is essentially a kind of database that is optimized for handling
message streams [13]. It runs as a server, with producers and consumers connecting
to it as clients. Producers write messages to the broker, and consumers receive them
by reading them from the broker.
How do consumers receive messages by reading them from the broker? Does it work in the following steps?
- First, does the broker notify a consumer that there is a new message in the topic they have subscribed to?
- Does the consumer then request the broker for the new message?
- Does the broker then respond to the consumer with the new message?
- Does the consumer then send an acknowledge to the broker for having received the message?
Thanks.
https://redd.it/f5qg31
@r_devops
I have learned from *Data Intensive Applications* book that
> A widely used alternative is to send messages via a message broker (also known as a
message queue), which is essentially a kind of database that is optimized for handling
message streams [13]. It runs as a server, with producers and consumers connecting
to it as clients. Producers write messages to the broker, and consumers receive them
by reading them from the broker.
How do consumers receive messages by reading them from the broker? Does it work in the following steps?
- First, does the broker notify a consumer that there is a new message in the topic they have subscribed to?
- Does the consumer then request the broker for the new message?
- Does the broker then respond to the consumer with the new message?
- Does the consumer then send an acknowledge to the broker for having received the message?
Thanks.
https://redd.it/f5qg31
@r_devops
reddit
How does a consumer receive a message from a message broker?
I have learned from *Data Intensive Applications* book that > A widely used alternative is to send messages via a message broker (also known as...
Announcing Bot Framework SDK for Go
Consequent to a great feedback to [BotKube](https://www.botkube.io/), an application for messengers like Slack and Mattermost to monitor and debug Kubernetes deployments, we have got interests from Microsoft Teams users for an integration. An integration, which would help them monitor their Kubernetes cluster from a Teams client. Since BotKube is architecturally designed to work independently of a messaging platform, it seemed a viable thing to integrate it with Teams.
Microsoft Teams uses the [Microsoft Bot Framework](https://dev.botframework.com/) to allow users to write bot applications. The Bot Framework is a set of tools, SDKs, templates and services to build conversational bot applications. The official SDKs are available for Python, C#.NET, Java and Javascript. Since BotKube is built in Go, there was a need of an interface to the Bot Framework services in Go, for a seamless integration of BotKube to Teams. This encouraged us to write a Go SDK that wraps the services of the Bot Framework.
Today, we are excited to announce the first release of the [Bot Framework SDK for Go](https://github.com/infracloudio/msbotbuilder-go); an SDK written in Go that enables users to build bot applications over the Bot Framework in Golang. The SDK enables application developers to build conversational bots for Microsoft Teams.
[Read the full blog here](https://www.infracloud.io/microsoft-bot-framwework-sdk-for-go/)
https://redd.it/f5pjb1
@r_devops
Consequent to a great feedback to [BotKube](https://www.botkube.io/), an application for messengers like Slack and Mattermost to monitor and debug Kubernetes deployments, we have got interests from Microsoft Teams users for an integration. An integration, which would help them monitor their Kubernetes cluster from a Teams client. Since BotKube is architecturally designed to work independently of a messaging platform, it seemed a viable thing to integrate it with Teams.
Microsoft Teams uses the [Microsoft Bot Framework](https://dev.botframework.com/) to allow users to write bot applications. The Bot Framework is a set of tools, SDKs, templates and services to build conversational bot applications. The official SDKs are available for Python, C#.NET, Java and Javascript. Since BotKube is built in Go, there was a need of an interface to the Bot Framework services in Go, for a seamless integration of BotKube to Teams. This encouraged us to write a Go SDK that wraps the services of the Bot Framework.
Today, we are excited to announce the first release of the [Bot Framework SDK for Go](https://github.com/infracloudio/msbotbuilder-go); an SDK written in Go that enables users to build bot applications over the Bot Framework in Golang. The SDK enables application developers to build conversational bots for Microsoft Teams.
[Read the full blog here](https://www.infracloud.io/microsoft-bot-framwework-sdk-for-go/)
https://redd.it/f5pjb1
@r_devops
botkube.io
Collaborative Kubernetes AI Assistant | Botkube
Reliably lighten the Kubernetes Troubleshooting and Monitoring Workload for your DevOps and Developers.
clientSet for in-cluster and out cluster
This is little old, but I wanted to share this. A `go module` for eliminating the kubernetes client initialization in cloud native app development. Give it a try and let me know your thoughts
[clientSet for in-cluster and out cluster](https://medium.com/swlh/clientset-module-for-in-cluster-and-out-cluster-3f0d80af79ed)
https://redd.it/f5mw3n
@r_devops
This is little old, but I wanted to share this. A `go module` for eliminating the kubernetes client initialization in cloud native app development. Give it a try and let me know your thoughts
[clientSet for in-cluster and out cluster](https://medium.com/swlh/clientset-module-for-in-cluster-and-out-cluster-3f0d80af79ed)
https://redd.it/f5mw3n
@r_devops
Medium
clientSet for in-cluster and out-cluster
Most often times when we write the Cloud Native GoLang code based on the Kubernetes, we will end up in doing things like clientSet based…