Netmaker v0.9 release updates
# Hi all,
Just wanted to keep you updated on the progress with Netmaker, a WireGuard VPN automation and management platform.
We've just released v0.9, which comes with a couple cool updates. The first is a totally refactored UI. It doesn't change the functionality much, but we think it looks and works a lot better.
The second is support for routers. We've now built in support for OpenWRT and FreeBSD systems. This means you should be able to run the netclient on a lot of open source router OS's and mesh everything behind the router into your network.
For those of you who are just now learning about Netmaker, here's a recap on the features:
Centralized WireGuard config management
Automatic Peer discovery and configuration.
UDP hole punching to establish connections behind NAT, firewall, etc.
Add in phones to your networks
Create gateways into networks (e.g. home / office network)
Configure peers as relay servers
self-hosted with easy 1-click installation
Works on Linux, Mac, Windows, and FreeBSD devices.
https://redd.it/r0d3ws
@r_devops
# Hi all,
Just wanted to keep you updated on the progress with Netmaker, a WireGuard VPN automation and management platform.
We've just released v0.9, which comes with a couple cool updates. The first is a totally refactored UI. It doesn't change the functionality much, but we think it looks and works a lot better.
The second is support for routers. We've now built in support for OpenWRT and FreeBSD systems. This means you should be able to run the netclient on a lot of open source router OS's and mesh everything behind the router into your network.
For those of you who are just now learning about Netmaker, here's a recap on the features:
Centralized WireGuard config management
Automatic Peer discovery and configuration.
UDP hole punching to establish connections behind NAT, firewall, etc.
Add in phones to your networks
Create gateways into networks (e.g. home / office network)
Configure peers as relay servers
self-hosted with easy 1-click installation
Works on Linux, Mac, Windows, and FreeBSD devices.
https://redd.it/r0d3ws
@r_devops
GitHub
GitHub - gravitl/netmaker: Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks. - gravitl/netmaker
Continuous Deployment with Github Actions: An Example
Wrote a blog that takes a deeper dive into setting up CD with Github Actions https://www.dolthub.com/blog/2020-11-23-continous-deployment-with-github-actions/
https://redd.it/r0i16n
@r_devops
Wrote a blog that takes a deeper dive into setting up CD with Github Actions https://www.dolthub.com/blog/2020-11-23-continous-deployment-with-github-actions/
https://redd.it/r0i16n
@r_devops
Dolthub
Continuous Deployment with Github Actions: An Example
Blog for DoltHub, a website hosting databases made with Dolt, an open-source version-controlled SQL database with Git-like semantics.
What's it like being a Cloud Engineer?
I'm currently working in private cloud but have been eyeing a role change. At first, I thought I wanted to be a frontend developer but ended up deciding not to do it.
Anyways, I wanted to get to know more about the field of Cloud Engineering as a possible career choice, specifically:
1. How often are you coding? Daily, monthly, quarterly?
2. Is there such thing as a Cloud Engineering role where you spend most of your day, every day in a public cloud designing infrastructure, implementing it, scaling it, configuring it, thinking of ways to secure it? That sounds like a lot of fun.
3. Is it true that the kind of role I just described is becoming obsolete thanks to Infrastructure as Code?
4. This question is probably unique to your situation but do you think you've worked more hours in Cloud Engineering than you did software development?
5. Whats the stress level like for Cloud Engineering?
https://redd.it/r0jtrd
@r_devops
I'm currently working in private cloud but have been eyeing a role change. At first, I thought I wanted to be a frontend developer but ended up deciding not to do it.
Anyways, I wanted to get to know more about the field of Cloud Engineering as a possible career choice, specifically:
1. How often are you coding? Daily, monthly, quarterly?
2. Is there such thing as a Cloud Engineering role where you spend most of your day, every day in a public cloud designing infrastructure, implementing it, scaling it, configuring it, thinking of ways to secure it? That sounds like a lot of fun.
3. Is it true that the kind of role I just described is becoming obsolete thanks to Infrastructure as Code?
4. This question is probably unique to your situation but do you think you've worked more hours in Cloud Engineering than you did software development?
5. Whats the stress level like for Cloud Engineering?
https://redd.it/r0jtrd
@r_devops
reddit
What's it like being a Cloud Engineer?
I'm currently working in private cloud but have been eyeing a role change. At first, I thought I wanted to be a frontend developer but ended up...
IT Infrastructure vs. DevOps
Can anyone tell me the general ideas and differences between these two roles?
https://redd.it/r0hsyk
@r_devops
Can anyone tell me the general ideas and differences between these two roles?
https://redd.it/r0hsyk
@r_devops
reddit
IT Infrastructure vs. DevOps
Can anyone tell me the general ideas and differences between these two roles?
Creating GCP disk images with (for?) TerraForm
Good evening Reddit,
We have a pretty big application deployed on GCP. Given its increasing complexity we have decided to start (learning about and) using Terraform.
Currently, we have multiple MIGs for services that need to be scalable (k8s would probably be better for that long term?), some ML models on Vertex, and everything is duplicated x2 to have prod and staging environments. That and load balancers, VPCs...
So we're very happy to discover Terraform, it looks like it'll help limit the number of clicks in the GCP interface, which I'm quite literally having nightmares of.
Getting to the point: we use MIGs to deploy some extra-large ML models using instances that boot from custom images. These images are usually Ubuntu server + tons of custom stuff (CUDA, libs, monitoring...).
Is there a way to automate the creation of disk images? For now we run scripts but we are hoping for a stateful way to define what we want eg: Ubuntu-16.04, conda, CUDA, ...
Can Terraform be used for that? or can any other tool?
https://redd.it/r0ow6j
@r_devops
Good evening Reddit,
We have a pretty big application deployed on GCP. Given its increasing complexity we have decided to start (learning about and) using Terraform.
Currently, we have multiple MIGs for services that need to be scalable (k8s would probably be better for that long term?), some ML models on Vertex, and everything is duplicated x2 to have prod and staging environments. That and load balancers, VPCs...
So we're very happy to discover Terraform, it looks like it'll help limit the number of clicks in the GCP interface, which I'm quite literally having nightmares of.
Getting to the point: we use MIGs to deploy some extra-large ML models using instances that boot from custom images. These images are usually Ubuntu server + tons of custom stuff (CUDA, libs, monitoring...).
Is there a way to automate the creation of disk images? For now we run scripts but we are hoping for a stateful way to define what we want eg: Ubuntu-16.04, conda, CUDA, ...
Can Terraform be used for that? or can any other tool?
https://redd.it/r0ow6j
@r_devops
reddit
Creating GCP disk images with (for?) TerraForm
Good evening Reddit, We have a pretty big application deployed on GCP. Given its increasing complexity we have decided to start (learning about...
Enigma
Enjoyed The Imitation Game? Must have felt amazing after solving Enigma right! How about you too being the one to solve Enigma?
We bring back to you a mysterious quest that has yet to be solved: ENIGMA 8
With confounding questions, unique power ups and a fascinating storyline to keep you hooked for over 48 hours!
Register now https://enigma.ieeevit.org/
Enigma goes live on 26th November at 4:20 PM. Let’s see if you can be on top of the leaderboard ;)
https://redd.it/r0zgjz
@r_devops
Enjoyed The Imitation Game? Must have felt amazing after solving Enigma right! How about you too being the one to solve Enigma?
We bring back to you a mysterious quest that has yet to be solved: ENIGMA 8
With confounding questions, unique power ups and a fascinating storyline to keep you hooked for over 48 hours!
Register now https://enigma.ieeevit.org/
Enigma goes live on 26th November at 4:20 PM. Let’s see if you can be on top of the leaderboard ;)
https://redd.it/r0zgjz
@r_devops
enigma.ieeevit.org
ENIGMA 8
ENIGMA 8 is an online cryptic hunt organized by the
IEEE-VIT Student Chapter. This initiative is completetly developed and
led by students, and is played by thousands of competitors from all over
the world.…
IEEE-VIT Student Chapter. This initiative is completetly developed and
led by students, and is played by thousands of competitors from all over
the world.…
Limitations with GitlabCI, any alternatives on the market?
Hello,
I'll try to give a brief overview of my current situation and the limitations I'm facing. My main question is that how do I overcome these and what is the right tool for the job?
So, currently I am using GitlabCI for my builds and deploys.Build for me means using gradle to build a java product and upload it to nexus.Deploy basically means downloading that zip to a certain server and unpacking it there (done using an ansible script).There are about 50 servers currently I want to deploy to. Deploy is a manual process meaning I will mostly get a request to deploy version X to server Y.Currently my pipeline reflects this processes as I explained it. Each pipeline has a build stage where I have a task to build the product and also a deploy stage where the version build in current pipeline can be deployed to every server - so about 50 tasks there.
The biggest limitation I am facing is that I cannot deploy old versions to new servers. So for example if someone adds a server today and I get a request to deploy a version that was built yesterday then yesterdays pipeline doesn't have a task to deploy to this new server.
So this is where my question comes from. My idea is to keep the build part in GitlabCI, but use a new tool for deployments and environment management.
To put it simply from UI perspective I need a tool that gives me a list of all product versions available in nexus and lets me deploy a chosen version to any server.
In the backend I imagine getting a list of product versions would just be a GET query to nexus and parsing the data from there and deployment job would be executing my current ansible script for chosen host.
Could you please recommend what are the tools I could use for this job?
https://redd.it/r10wj6
@r_devops
Hello,
I'll try to give a brief overview of my current situation and the limitations I'm facing. My main question is that how do I overcome these and what is the right tool for the job?
So, currently I am using GitlabCI for my builds and deploys.Build for me means using gradle to build a java product and upload it to nexus.Deploy basically means downloading that zip to a certain server and unpacking it there (done using an ansible script).There are about 50 servers currently I want to deploy to. Deploy is a manual process meaning I will mostly get a request to deploy version X to server Y.Currently my pipeline reflects this processes as I explained it. Each pipeline has a build stage where I have a task to build the product and also a deploy stage where the version build in current pipeline can be deployed to every server - so about 50 tasks there.
The biggest limitation I am facing is that I cannot deploy old versions to new servers. So for example if someone adds a server today and I get a request to deploy a version that was built yesterday then yesterdays pipeline doesn't have a task to deploy to this new server.
So this is where my question comes from. My idea is to keep the build part in GitlabCI, but use a new tool for deployments and environment management.
To put it simply from UI perspective I need a tool that gives me a list of all product versions available in nexus and lets me deploy a chosen version to any server.
In the backend I imagine getting a list of product versions would just be a GET query to nexus and parsing the data from there and deployment job would be executing my current ansible script for chosen host.
Could you please recommend what are the tools I could use for this job?
https://redd.it/r10wj6
@r_devops
reddit
Limitations with GitlabCI, any alternatives on the market?
Hello, I'll try to give a brief overview of my current situation and the limitations I'm facing. My main question is that how do I overcome these...
Amazon introduces IPv6-only subnets and EC2 instances
Amazon announced about IPv6-only subnets and EC2 instances
https://aws.amazon.com/blogs/networking-and-content-delivery/introducing-ipv6-only-subnets-and-ec2-instances/
https://redd.it/r17xp6
@r_devops
Amazon announced about IPv6-only subnets and EC2 instances
https://aws.amazon.com/blogs/networking-and-content-delivery/introducing-ipv6-only-subnets-and-ec2-instances/
https://redd.it/r17xp6
@r_devops
Amazon
Introducing IPv6-only subnets and EC2 instances | Amazon Web Services
In June 2021, we announced our continued commitment and innovation towards the enablement of IPv6 on AWS. Today, we take a monumental step forward with the ability to create an IPv6-only architecture on AWS. With this launch, Amazon Virtual Private Cloud…
Save your engineers' sleep: best practices for on-call processes
A solid on-call process is key to saving your engineers' sleep (and keeping them sane!)
Here's how we have optimized our on-call process at Ably:
☉ We treat alerts as code
☉ We use percentiles over averages
☉ We use playbooks to document each alert
☉ We use Prometheus Alertmanager
☉ We use PagerBeauty to show who is on-call
☉ We automate all our pages
☉ We use routine tests
☉ We have an incident management framework
This is full reasoning behind each one:
Save your engineers' sleep: best practices for on-call processes
https://redd.it/r17tv3
@r_devops
A solid on-call process is key to saving your engineers' sleep (and keeping them sane!)
Here's how we have optimized our on-call process at Ably:
☉ We treat alerts as code
☉ We use percentiles over averages
☉ We use playbooks to document each alert
☉ We use Prometheus Alertmanager
☉ We use PagerBeauty to show who is on-call
☉ We automate all our pages
☉ We use routine tests
☉ We have an incident management framework
This is full reasoning behind each one:
Save your engineers' sleep: best practices for on-call processes
https://redd.it/r17tv3
@r_devops
Ably Realtime
Save your engineers' sleep: best practices for on-call processes
We use best practices to manage on-call shifts at Ably. We've optimized our processes to remove the common pain points of alerts and monitoring.
AWS Fargate: how to get the nginx container to read
We're using aws fargate, we have two containers, a PHP container and a nginx container. The files are mounted to the PHP container.
How to get the nginx container to read the static files (css/js/images) so that the pages are rendered correctly?
In docker-compose, I mount the volume on the nginx container and on the PHP container, but AWS fargate doesn't support docker compose
https://redd.it/r0yce8
@r_devops
We're using aws fargate, we have two containers, a PHP container and a nginx container. The files are mounted to the PHP container.
How to get the nginx container to read the static files (css/js/images) so that the pages are rendered correctly?
In docker-compose, I mount the volume on the nginx container and on the PHP container, but AWS fargate doesn't support docker compose
https://redd.it/r0yce8
@r_devops
reddit
AWS Fargate: how to get the nginx container to read
We're using aws fargate, we have two containers, a PHP container and a nginx container. The files are mounted to the PHP container. How to get...
Black Friday Deals For Developers 2021
Hey everyone,I hope you guys are doing fine.
I'm sharing here some awesome black Friday deals for developers 2021. I hope you find it helpful.
* [Themeselection - 25% Off Storewide](https://themeselection.com/)
* [Startup- 30% OFF](https://designmodo.com/startup/)
* [Vue School – Premium VueJS Tutorials – 40% OFF](https://vueschool.io/sales/blackfriday?)
* [Pluralsight - 40%](https://www.pluralsight.com/)
* [Mockplus – Product Design Platform – Up To 72% OFF](https://www.mockplus.com/buy/black-friday?)
* [Laracast – 50% Off](https://laracasts.com/)
* [75% OFF on DataCamp Annual Plan](https://www.datacamp.com/)
* [Udemy Black Friday Deals 2021 Up to 85%](https://www.udemy.com/)
* [Zyro – Website Builder – up to 86% OFF](https://zyro.com/in)
Thanks.
https://redd.it/r1vhmz
@r_devops
Hey everyone,I hope you guys are doing fine.
I'm sharing here some awesome black Friday deals for developers 2021. I hope you find it helpful.
* [Themeselection - 25% Off Storewide](https://themeselection.com/)
* [Startup- 30% OFF](https://designmodo.com/startup/)
* [Vue School – Premium VueJS Tutorials – 40% OFF](https://vueschool.io/sales/blackfriday?)
* [Pluralsight - 40%](https://www.pluralsight.com/)
* [Mockplus – Product Design Platform – Up To 72% OFF](https://www.mockplus.com/buy/black-friday?)
* [Laracast – 50% Off](https://laracasts.com/)
* [75% OFF on DataCamp Annual Plan](https://www.datacamp.com/)
* [Udemy Black Friday Deals 2021 Up to 85%](https://www.udemy.com/)
* [Zyro – Website Builder – up to 86% OFF](https://zyro.com/in)
Thanks.
https://redd.it/r1vhmz
@r_devops
ThemeSelection
Premium & Free Admin Dashboard Templates, Boilerplates & Themes
Selected high-quality, modern design, professional & easy-to-use Premium & Free Admin Template, HTML Themes & UI Kits for faster applications!
Help with circleci persist_to_workspace?
I'm running a circleci pipeline with a plan and apply step for terraform, and it is my first time using `persist_to_workspace` functionality so that i can cache the working directory, and use the outputted terraform plan file as an input on the apply step, not to mention it doesnt have to reclone the repo, or re initialise terraform and download all the plugins again. However the `persist_to_workspace` is not.... persisting to workspace.... I am following this example in the terraform documentation: [https://learn.hashicorp.com/tutorials/terraform/circle-ci](https://learn.hashicorp.com/tutorials/terraform/circle-ci). When running the apply job with SSH enabled, and SSHing onto the worker instance, there is nothing there in the working directory, nothing has been "persisted".
Below is an snippet from the pipeline, can anybody tell me what im doing wrong? Please dont tell me that I am missing a huge portion of the pipeline, I have simply just pasted what is relavent to the question, there is of course much more to the pipeline than this hahahah.
jobs:
plan-staging:
executor: terraform
steps:
- checkout
- terraform-plan:
aws_access_key_id: '${AccessKey}'
aws_secret_key: '${SecretKey}'
tf_var_file: 'staging/staging.tfvars'
tf_backend_config: 'staging/backend.hcl'
tf_cloud_token: '${TF_CLOUD_TOKEN}'
environment: 'staging'
- persist_to_workspace:
root: .
paths:
- .
apply-staging:
executor: terraform
steps:
- attach_workspace:
at: .
- terraform-apply:
aws_access_key_id: '${AccessKey}'
aws_secret_key: '${SecretKey}'
tf_cloud_token: '${TF_CLOUD_TOKEN}'
environment: 'staging'
https://redd.it/r1xg6g
@r_devops
I'm running a circleci pipeline with a plan and apply step for terraform, and it is my first time using `persist_to_workspace` functionality so that i can cache the working directory, and use the outputted terraform plan file as an input on the apply step, not to mention it doesnt have to reclone the repo, or re initialise terraform and download all the plugins again. However the `persist_to_workspace` is not.... persisting to workspace.... I am following this example in the terraform documentation: [https://learn.hashicorp.com/tutorials/terraform/circle-ci](https://learn.hashicorp.com/tutorials/terraform/circle-ci). When running the apply job with SSH enabled, and SSHing onto the worker instance, there is nothing there in the working directory, nothing has been "persisted".
Below is an snippet from the pipeline, can anybody tell me what im doing wrong? Please dont tell me that I am missing a huge portion of the pipeline, I have simply just pasted what is relavent to the question, there is of course much more to the pipeline than this hahahah.
jobs:
plan-staging:
executor: terraform
steps:
- checkout
- terraform-plan:
aws_access_key_id: '${AccessKey}'
aws_secret_key: '${SecretKey}'
tf_var_file: 'staging/staging.tfvars'
tf_backend_config: 'staging/backend.hcl'
tf_cloud_token: '${TF_CLOUD_TOKEN}'
environment: 'staging'
- persist_to_workspace:
root: .
paths:
- .
apply-staging:
executor: terraform
steps:
- attach_workspace:
at: .
- terraform-apply:
aws_access_key_id: '${AccessKey}'
aws_secret_key: '${SecretKey}'
tf_cloud_token: '${TF_CLOUD_TOKEN}'
environment: 'staging'
https://redd.it/r1xg6g
@r_devops
Deploy infrastructure with Terraform and CircleCI | Terraform | HashiCorp Developer
Create infrastructure using Terraform in a CircleCI pipeline and store project state in Terraform Cloud.
Nginx rewrite requests in Nginx without extension and not ending in / to add .html
I need help to implement something like this from express static options.
Sets file extension fallbacks: If a file is not found, search for files with the specified extensions and serve the first one found. Example:
'html', 'htm'
https://redd.it/r1x4od
@r_devops
I need help to implement something like this from express static options.
Sets file extension fallbacks: If a file is not found, search for files with the specified extensions and serve the first one found. Example:
'html', 'htm'
https://redd.it/r1x4od
@r_devops
reddit
[Nginx] rewrite requests in Nginx without extension and not ending...
I need help to implement something like this from express static options. Sets file extension fallbacks: If a file is not found, search for...
those that take on contract roles outside of your full time employment, how do you do it?
Lets assume one is fully aware of the time management issues that might arise from doing something like this.
What advise or cautionary tales can you give for someone looking to take on short term contract roles on the side while working their full time job?
bonus points, if you are canadian (to understand laws if any)
https://redd.it/r252sq
@r_devops
Lets assume one is fully aware of the time management issues that might arise from doing something like this.
What advise or cautionary tales can you give for someone looking to take on short term contract roles on the side while working their full time job?
bonus points, if you are canadian (to understand laws if any)
https://redd.it/r252sq
@r_devops
reddit
those that take on contract roles outside of your full time...
Lets assume one is fully aware of the time management issues that might arise from doing something like this. What advise or cautionary tales can...
What are DevOps issues that nobody talks about?
Hey guys, what are some develop issues that no one seems to talk about? These can be technical issues or just general business issues. And why is no one talking about these issues? I'm doing some user research on DevOps and trying to get a better understanding of the field. Thanks!
https://redd.it/r26xsu
@r_devops
Hey guys, what are some develop issues that no one seems to talk about? These can be technical issues or just general business issues. And why is no one talking about these issues? I'm doing some user research on DevOps and trying to get a better understanding of the field. Thanks!
https://redd.it/r26xsu
@r_devops
reddit
What are DevOps issues that nobody talks about?
Hey guys, what are some develop issues that no one seems to talk about? These can be technical issues or just general business issues. And why is...
WTF is up with Nginx Plus?
So I’m interested in improving our current Nginx OS + ModSecurity setup with Nginx Plus, mostly for better upstream proxy support.
After getting frustrated with the AWS marketplace I contacted F5 sales… For a very minimal 4 instance setup (which could easily handle the request but I’d prefer more just to sleep better at night) split over test/prod, with their own build of ModSecurity (which apparently you need to pay extra for) they are talking US$40-50k p.a.
Honestly WTF… I can work around the upstream issues so it’s really just that Plus would be more convenient with maybe some neat features.
I’m just a little confused by their positioning. Does anyone actually use it and thinks it’s worth the price? I’d be happy to pay, idk, an order of magnitude less than they’re asking…and that seems like a good deal for them given my use case…
Edit: to clarify, I find it odd that the only pricing tiers are free or enterprise…
https://redd.it/r2hn6k
@r_devops
So I’m interested in improving our current Nginx OS + ModSecurity setup with Nginx Plus, mostly for better upstream proxy support.
After getting frustrated with the AWS marketplace I contacted F5 sales… For a very minimal 4 instance setup (which could easily handle the request but I’d prefer more just to sleep better at night) split over test/prod, with their own build of ModSecurity (which apparently you need to pay extra for) they are talking US$40-50k p.a.
Honestly WTF… I can work around the upstream issues so it’s really just that Plus would be more convenient with maybe some neat features.
I’m just a little confused by their positioning. Does anyone actually use it and thinks it’s worth the price? I’d be happy to pay, idk, an order of magnitude less than they’re asking…and that seems like a good deal for them given my use case…
Edit: to clarify, I find it odd that the only pricing tiers are free or enterprise…
https://redd.it/r2hn6k
@r_devops
reddit
WTF is up with Nginx Plus?
So I’m interested in improving our current Nginx OS + ModSecurity setup with Nginx Plus, mostly for better upstream proxy support. After getting...
Loki performance tuning
Hi
We have deployed Loki distributed (2.4.1) to Redhat Openshift on AWS. here is the current components as well as their replica and resources:
* Ingester: 3 pods, 600m CPU, 5Gi ram, and 10Gi storage each
* distributor: 1 pod, 200m CPU, 700Mi ram
* Querier: 2 pods, 1500m CPU, 5Gi ram, and 10Gi storage each
* Query Frontend: 3 pods, 200m CPU, 500Mi RAM
* Gateway: 1 pod, 200m CPU, 100Mi RAM
* Compactor: 1 pod, 200m CPU, 7Gi RAM, and 40Gi storage
* Index gateway: 1 pod, 200m CPU, 1Gi RAM, and 20Gi storage
We also have Memcached (chunks, frontend, index queries, index writes)
Also here is the config file:
^(auth\_enabled: false)
^(server:)
^(http\_listen\_port: 3100)
^(log\_level: debug)
^(distributor:)
^(ring:)
^(kvstore:)
^(store: memberlist)
^(memberlist:)
^(join\_members:)
^(- loki-distributed-memberlist)
^(ingester:)
^(lifecycler:)
^(ring:)
^(kvstore:)
^(store: memberlist)
^(replication\_factor: 1)
^(chunk\_idle\_period: 30m)
^(chunk\_block\_size: 262144)
^(chunk\_encoding: snappy)
^(chunk\_retain\_period: 1m)
^(max\_transfer\_retries: 0)
^(chunk\_target\_size: 2500000)
^(wal:)
^(dir: /var/loki/wal)
^(limits\_config:)
^(enforce\_metric\_name: false)
^(reject\_old\_samples: true)
^(reject\_old\_samples\_max\_age: 168h)
^(max\_cache\_freshness\_per\_query: 10m)
^(max\_global\_streams\_per\_user: 5000000)
^(schema\_config:)
^(configs:)
^(- from: 2021-08-08)
^(store: boltdb-shipper)
^(object\_store: s3)
^(schema: v11)
^(index:)
^(prefix: index\_)
^(period: 24h)
^(storage\_config:)
^(boltdb\_shipper:)
^(shared\_store: s3)
^(active\_index\_directory: /var/loki/index)
^(cache\_location: /var/loki/boltdb-cache)
^(cache\_ttl: 168h)
^(index\_gateway\_client:)
^(server\_address: dns:///loki-distributed-index-gateway:9095)
^(index\_queries\_cache\_config:)
^(memcached:)
^(batch\_size: 100)
^(parallelism: 100)
^(memcached\_client:)
^(consistent\_hash: true)
^(host: loki-distributed-memcached-index-queries)
^(service: http)
^(timeout: 5s)
^(aws:)
^(s3: s3://aaa)
^(s3forcepathstyle: true)
^(chunk\_store\_config:)
^(max\_look\_back\_period: 0s)
^(chunk\_cache\_config:)
^(memcached:)
^(batch\_size: 100)
^(parallelism: 100)
^(memcached\_client:)
^(consistent\_hash: true)
^(host: loki-distributed-memcached-chunks)
^(service: http)
^(timeout: 5s)
^(write\_dedupe\_cache\_config:)
^(memcached:)
^(batch\_size: 100)
^(parallelism: 100)
^(memcached\_client:)
^(consistent\_hash: true)
^(host: loki-distributed-memcached-index-writes)
^(service: http)
^(timeout: 5s)
^(querier:)
^(max\_concurrent: 10)
^(query\_timeout: 3m)
^(engine:)
^(timeout: 5m)
^(query\_ingesters\_within: 1h)
^(query\_scheduler:)
^(max\_outstanding\_requests\_per\_tenant: 1000)
^(table\_manager:)
^(retention\_deletes\_enabled: false)
^(retention\_period: 0s)
^(query\_range:)
^(align\_queries\_with\_step: true)
^(max\_retries: 5)
^(split\_queries\_by\_interval: 15m)
^(cache\_results: true)
^(parallelise\_shardable\_queries: true)
^(results\_cache:)
^(cache:)
^(enable\_fifocache: true)
^(fifocache:)
^(max\_size\_items: 1024)
^(validity: 24h)
^(memcached\_client:)
^(consistent\_hash: true)
^(host: loki-distributed-memcached-frontend)
^(max\_idle\_conns: 16)
^(service: http)
^(timeout: 5s)
^(update\_interval: 1m)
^(frontend\_worker:)
^(frontend\_address: loki-distributed-query-frontend:9095)
^(grpc\_client\_config:)
^(max\_send\_msg\_size: 33554434)
^(grpc\_compression: snappy)
^(frontend:)
^(max\_outstanding\_per\_tenant: 1000)
^(log\_queries\_longer\_than: 5s)
^(compress\_responses: true)
^(tail\_proxy\_url: https://loki-distributed-querier:3100)
^(compactor:)
^(working\_directory: /var/loki/compactor)
^(shared\_store: s3)
^(compaction\_interval: 5m)
^(retention\_enabled: true)
Hi
We have deployed Loki distributed (2.4.1) to Redhat Openshift on AWS. here is the current components as well as their replica and resources:
* Ingester: 3 pods, 600m CPU, 5Gi ram, and 10Gi storage each
* distributor: 1 pod, 200m CPU, 700Mi ram
* Querier: 2 pods, 1500m CPU, 5Gi ram, and 10Gi storage each
* Query Frontend: 3 pods, 200m CPU, 500Mi RAM
* Gateway: 1 pod, 200m CPU, 100Mi RAM
* Compactor: 1 pod, 200m CPU, 7Gi RAM, and 40Gi storage
* Index gateway: 1 pod, 200m CPU, 1Gi RAM, and 20Gi storage
We also have Memcached (chunks, frontend, index queries, index writes)
Also here is the config file:
^(auth\_enabled: false)
^(server:)
^(http\_listen\_port: 3100)
^(log\_level: debug)
^(distributor:)
^(ring:)
^(kvstore:)
^(store: memberlist)
^(memberlist:)
^(join\_members:)
^(- loki-distributed-memberlist)
^(ingester:)
^(lifecycler:)
^(ring:)
^(kvstore:)
^(store: memberlist)
^(replication\_factor: 1)
^(chunk\_idle\_period: 30m)
^(chunk\_block\_size: 262144)
^(chunk\_encoding: snappy)
^(chunk\_retain\_period: 1m)
^(max\_transfer\_retries: 0)
^(chunk\_target\_size: 2500000)
^(wal:)
^(dir: /var/loki/wal)
^(limits\_config:)
^(enforce\_metric\_name: false)
^(reject\_old\_samples: true)
^(reject\_old\_samples\_max\_age: 168h)
^(max\_cache\_freshness\_per\_query: 10m)
^(max\_global\_streams\_per\_user: 5000000)
^(schema\_config:)
^(configs:)
^(- from: 2021-08-08)
^(store: boltdb-shipper)
^(object\_store: s3)
^(schema: v11)
^(index:)
^(prefix: index\_)
^(period: 24h)
^(storage\_config:)
^(boltdb\_shipper:)
^(shared\_store: s3)
^(active\_index\_directory: /var/loki/index)
^(cache\_location: /var/loki/boltdb-cache)
^(cache\_ttl: 168h)
^(index\_gateway\_client:)
^(server\_address: dns:///loki-distributed-index-gateway:9095)
^(index\_queries\_cache\_config:)
^(memcached:)
^(batch\_size: 100)
^(parallelism: 100)
^(memcached\_client:)
^(consistent\_hash: true)
^(host: loki-distributed-memcached-index-queries)
^(service: http)
^(timeout: 5s)
^(aws:)
^(s3: s3://aaa)
^(s3forcepathstyle: true)
^(chunk\_store\_config:)
^(max\_look\_back\_period: 0s)
^(chunk\_cache\_config:)
^(memcached:)
^(batch\_size: 100)
^(parallelism: 100)
^(memcached\_client:)
^(consistent\_hash: true)
^(host: loki-distributed-memcached-chunks)
^(service: http)
^(timeout: 5s)
^(write\_dedupe\_cache\_config:)
^(memcached:)
^(batch\_size: 100)
^(parallelism: 100)
^(memcached\_client:)
^(consistent\_hash: true)
^(host: loki-distributed-memcached-index-writes)
^(service: http)
^(timeout: 5s)
^(querier:)
^(max\_concurrent: 10)
^(query\_timeout: 3m)
^(engine:)
^(timeout: 5m)
^(query\_ingesters\_within: 1h)
^(query\_scheduler:)
^(max\_outstanding\_requests\_per\_tenant: 1000)
^(table\_manager:)
^(retention\_deletes\_enabled: false)
^(retention\_period: 0s)
^(query\_range:)
^(align\_queries\_with\_step: true)
^(max\_retries: 5)
^(split\_queries\_by\_interval: 15m)
^(cache\_results: true)
^(parallelise\_shardable\_queries: true)
^(results\_cache:)
^(cache:)
^(enable\_fifocache: true)
^(fifocache:)
^(max\_size\_items: 1024)
^(validity: 24h)
^(memcached\_client:)
^(consistent\_hash: true)
^(host: loki-distributed-memcached-frontend)
^(max\_idle\_conns: 16)
^(service: http)
^(timeout: 5s)
^(update\_interval: 1m)
^(frontend\_worker:)
^(frontend\_address: loki-distributed-query-frontend:9095)
^(grpc\_client\_config:)
^(max\_send\_msg\_size: 33554434)
^(grpc\_compression: snappy)
^(frontend:)
^(max\_outstanding\_per\_tenant: 1000)
^(log\_queries\_longer\_than: 5s)
^(compress\_responses: true)
^(tail\_proxy\_url: https://loki-distributed-querier:3100)
^(compactor:)
^(working\_directory: /var/loki/compactor)
^(shared\_store: s3)
^(compaction\_interval: 5m)
^(retention\_enabled: true)
^(retention\_delete\_delay: 2h)
^(retention\_delete\_worker\_count: 150)
^(ruler:)
^(storage:)
^(type: local)
^(local:)
^(directory: /etc/loki/rules)
^(ring:)
^(kvstore:)
^(store: memberlist)
^(rule\_path: /tmp/loki/scratch)
^(alertmanager\_url: https://alertmanager.xx)
^(external\_url: https://alertmanager.xx)
The main problem is, Loki is either too slow or it fails to show logs and labels, I tried to curl `/loki/api/v1/label` index and I take timeouts after 5 minutes. The only relevant logs I find are slow query and context canceled on the query frontend and context canceled on query nodes.
Also, when I check the metrics, there are no lack of resource and all components are working with no problem
Our cluster is not currently under load and not many people are using it
https://redd.it/r2rfii
@r_devops
^(retention\_delete\_worker\_count: 150)
^(ruler:)
^(storage:)
^(type: local)
^(local:)
^(directory: /etc/loki/rules)
^(ring:)
^(kvstore:)
^(store: memberlist)
^(rule\_path: /tmp/loki/scratch)
^(alertmanager\_url: https://alertmanager.xx)
^(external\_url: https://alertmanager.xx)
The main problem is, Loki is either too slow or it fails to show logs and labels, I tried to curl `/loki/api/v1/label` index and I take timeouts after 5 minutes. The only relevant logs I find are slow query and context canceled on the query frontend and context canceled on query nodes.
Also, when I check the metrics, there are no lack of resource and all components are working with no problem
Our cluster is not currently under load and not many people are using it
https://redd.it/r2rfii
@r_devops
How do you guys deal with SSL certificates?
When I discovered letsencrypt, I thought I had found a miracle solution !
But in reality, it’s as much of a pain as everything else.
How do you guys deal with creating, storing and regularly renewing certificates?
https://redd.it/r2hqey
@r_devops
When I discovered letsencrypt, I thought I had found a miracle solution !
But in reality, it’s as much of a pain as everything else.
How do you guys deal with creating, storing and regularly renewing certificates?
https://redd.it/r2hqey
@r_devops
reddit
How do you guys deal with SSL certificates?
When I discovered letsencrypt, I thought I had found a miracle solution ! But in reality, it’s as much of a pain as everything else. How do you...
Minecraft based DevOps proecjt
Hi there,
I want to increase my DevOps knowledge. Can anyone recommend a project related to Minecraft?
At work, I am expected to learn Terraform, Kubernetes and AWS (and some other stuff). I'm not sure where to start. I've never built a minecraft server.
​
I want to host and manage a java minecraft server. Any advice? Anyone know what I should learn to be able to do this. I have purchased and will work through terraform and also a kubernetes course on Udemy.
https://redd.it/r2pgm6
@r_devops
Hi there,
I want to increase my DevOps knowledge. Can anyone recommend a project related to Minecraft?
At work, I am expected to learn Terraform, Kubernetes and AWS (and some other stuff). I'm not sure where to start. I've never built a minecraft server.
​
I want to host and manage a java minecraft server. Any advice? Anyone know what I should learn to be able to do this. I have purchased and will work through terraform and also a kubernetes course on Udemy.
https://redd.it/r2pgm6
@r_devops
reddit
Minecraft based DevOps proecjt
Hi there, I want to increase my DevOps knowledge. Can anyone recommend a project related to Minecraft? At work, I am expected to learn...
Starting my first proper DevOps job from Monday. Some questions about the culture and mentality aspects.
Hi there,
I have been working on the pure Ops side with Azure, SQL Server and a bit of Azure DevOps and Python for the past 4 years and I have landed a proper DevOps role now. I am set to start the new gig from this monday. The new role will have extensive involvement with AWS, GCP, Gitlab, Jenkins etc in addition to whatever I already know.
I am not worried about learning all the new tech but a bit confused on how to make a strong start to the new career. The team I am going into will be having experienced DevOps engineers with a lot of them having extensive dev experience prior to that. I am coming from an Ops background and is worried about not fitting in quickly from the start.
Are there any rules of thumb, or unwritten rules or mentality points that I can read on so that I understand the "art of DevOps" ?
Thanks in advance
https://redd.it/r2sgzk
@r_devops
Hi there,
I have been working on the pure Ops side with Azure, SQL Server and a bit of Azure DevOps and Python for the past 4 years and I have landed a proper DevOps role now. I am set to start the new gig from this monday. The new role will have extensive involvement with AWS, GCP, Gitlab, Jenkins etc in addition to whatever I already know.
I am not worried about learning all the new tech but a bit confused on how to make a strong start to the new career. The team I am going into will be having experienced DevOps engineers with a lot of them having extensive dev experience prior to that. I am coming from an Ops background and is worried about not fitting in quickly from the start.
Are there any rules of thumb, or unwritten rules or mentality points that I can read on so that I understand the "art of DevOps" ?
Thanks in advance
https://redd.it/r2sgzk
@r_devops
reddit
Starting my first proper DevOps job from Monday. Some questions...
Hi there, I have been working on the pure Ops side with Azure, SQL Server and a bit of Azure DevOps and Python for the past 4 years and I have...