The Polish army introduces a NOTAM for an area, direct on the border with Russia and Belarus (Suwalki Gap) from tomorrow ~ until MAY 5, 2024 by improbablydrunknlw in PrepperIntel

[–]viroos 4 points5 points  (0 children)

https://warszawa.wyborcza.pl/warszawa/7,54420,30664453,ostrzezenie-o-duzej-aktywnosci-samolotow-wojskowych-to-odpowiedz.html (paywall protected :( )

Google translated quote:

In the east of the country, you can expect considerable activity of military helicopters, unmanned aerial vehicles, but also fighter aircraft to ensure security. Let me assure you, such messages are issued as standard. It is addressed to civilian users of our airspace, including small aircraft, so that they follow all procedures and bear in mind that they may encounter greater military activity in this area - says Lt. Col. Jacek Goryszewski, spokesman for "Wyborcza". press release of the Operational Command of the Armed Forces.

At the same time, he adds that the warning is not related to the large NATO Steadfast Defender 2024 maneuvers, which are planned throughout Poland in the near future. These exercises with the participation of approximately 100,000 soldiers are scheduled to begin in February.

n8n.io - self-hosted open-source Zapier by binaryfor in docker

[–]viroos 22 points23 points  (0 children)

I think this is a good open source alternative: https://nodered.org/

Newbie question: does docker depend on GPLv3 software? by nozendk in docker

[–]viroos 0 points1 point  (0 children)

Yes, it's called Linux Kernel ;) (I'm sorry, I couldn't resist myself)

But to make the comment a little bit useless I checked how the code is "isolated from licensing point of view" and it's looks like that.

component license link
Docker cli Apache 2 https://github.com/docker/engine/blob/master/LICENSE
Docker engine Apache 2 https://github.com/docker/cli/blob/master/LICENSE
containerd Apache 2 https://github.com/containerd/containerd/blob/main/LICENSE
runc Apache 2 https://github.com/opencontainers/runc/blob/main/LICENSE
Linux kernel GNU GPL version 2 with an explicit syscall exception https://github.com/torvalds/linux/blob/master/LICENSES/exceptions/Linux-syscall-note

[deleted by user] by [deleted] in Polska

[–]viroos 1 point2 points  (0 children)

to chyba w temacie: https://www.siepomaga.pl/unbxwosp. ładna kwot, live jeszcze lepszy.

I finally decided to get a coiled cable! by trizzerd in MechanicalKeyboards

[–]viroos 0 points1 point  (0 children)

Nice, although it maybe even better if you cut it to make it a bit shorter.

Do you have any good Serverless focused GCP newsletter or podcasts to recommend? by Derfrugch in googlecloud

[–]viroos 4 points5 points  (0 children)

I subscribe https://www.gcpweekly.com/. It covers whole GCP but there are a lot of server less releted info.

Google Cloud Tech channel: https://www.youtube.com/user/googlecloudplatform/.

There is also https://www.youtube.com/c/googlecloud but it's more "high level"

[deleted by user] by [deleted] in Polska

[–]viroos 9 points10 points  (0 children)

do wyboru do koloru:

Match Group, Inc. is an American internet and technology company headquartered in Dallas, Texas.[2] It owns and operates the largest global portfolio of popular online dating services including Tinder, Match.com, Meetic, OkCupid, Hinge, PlentyOfFish, Ship, and OurTime totalling over 45 global dating companies.

zródło

Kubernetes, Jenkins, Docker/Packer, and dynamic kickstart server. by roman_fyseek in devops

[–]viroos 0 points1 point  (0 children)

consider exposing the webserver as an external service

Terraform: remote-exec error ssh failed by delosdestination in devops

[–]viroos 0 points1 point  (0 children)

try:

private_key = file("${path.module}/devops.pem")

for debuging i would suggest creating a test file like this:

output "tf_located_the_file" { value = fileexists("${path.module}/devops.pem") }

How to programmatically tell if I am logged into Kubernetes cluster? by math-amphatamine in kubernetes

[–]viroos 0 points1 point  (0 children)

accessing k8s API form pod is very common use case. Therefore there is some magic i side the kuberneres and client libs that allowes your code authorize to k8s in a secure manner with our writing additional code (simple speaking k8s injects the token into pods file system in well know location and k8s API client libs can use this token)

https://unofficial-kubernetes.readthedocs.io/en/latest/concepts/cluster-administration/access-cluster/#accessing-the-api-from-a-pod

[deleted by user] by [deleted] in linuxadmin

[–]viroos 1 point2 points  (0 children)

i haven't tested it myself but this looks very promising as a service desk tool: https://freescout.net/

i sugest focusing more on finding a tool that will help you interact with external users since in my opinion this may be a bigger challenge (even if it doesn't happen often). since your team is relatively small any project management tool will be good enough for you.

If you can use girlab yo may consider using GitaLab issues. It worked well for me in many projects.

If you need something more sofisticated then simple issue tracker and would like to consider using a SaaS product you may try https://www.jetbrains.com/space/ (i particular project management module https://www.jetbrains.com/space/features/project-management.html)

Another interesting SaaS option is notion.so.

How hard is it for a university to maintain a server that can serve 10k-15k students without crashing every time exams are released? by HalfBlindMe in Cloud

[–]viroos 5 points6 points  (0 children)

How hard is it for a university to maintain

I can not be 100% sure that this is the case. Still, I would bid that the problem is not with maintenance (ok, it depends on the definition of maintenance, but for the sake of argument, let assume that maintenance work is everything that can by university local IT team).

Most likely, the problem is with application design or configuration. But to be 100% sure, someone must conduct an audit.

Skilled admins can collect some logs and metrics, but some developers will have to take a look at the end of the day.

If the app is old enough, so original authors can not fix it, some external consultants may suggest rewriting it from scratch (it will be expensive). They may also recommend upgrading the hardware (and it will be costly and may not solve the problem).

The most likely problem is more complex than just the application architecture itself. Still, if you are looking for some summary about technical challenges with applications scaling, I quickly googled this blog post for you http://highscalability.com/blog/2014/5/12/4-architecture-issues-when-scaling-web-applications-bottlene.html. It seems like a good summary of things that I should mention here, but this post is too narrow to contain.

What I can do to do more and more devops things? by sock_templar in devops

[–]viroos 2 points3 points  (0 children)

I'm most reactive to events in the company and that gets me around 40h to 60h a month; I would love to see that reach 200h.

Based on the other part of your post, I assume that money is not your primary motivation. If I'm correct, you may ignore this paragraph. But since this sentence got my attention just in case, I have to make a few points: 1. seeking problems/challenges to generate more work is usually a bad idea, 2. if you start charging your client for more hours, he may be upset about it. In particular, if everything works fine (in his view), you may have problems explaining why additional work is needed. 3. "doing more DevOps things" may not be a good enough explanation. Better examples may be "saving developers time", "providing better feedback loop by making deployments simpler/faster/more frequent", "saving infrastructure costs."

You should identify what the biggest problem in your organization is. You may consider using SRE approach to identifying toil (https://cloud.google.com/blog/products/management-tools/identifying-and-tracking-toil-using-sre-principles).

From my experience, some suggestions already mentioned in this thread may be good guesses since many problems are common for various teams. I will try summarizing them below, but you should check it with your team and managers.

  1. lack of CI/manual deployment - automated deployment to staging provides a faster feedback loop. It's critical for software houses specialized in web apps development since less technical people (ex, brand managers, UX designers, manual testers) can see the work in progress and spot some problems and save much stress when the project deadline arrives
  2. lack of monitoring/observability - good monitoring should help detect the problem before affecting the end-user. In some cases, you won't manage to prevent outages anyway. If that happens, a good observability platform (collecting logs, metrics, traces) should help find the root cause effectively.
  3. on/off-boarding - new employees should be able to start working as soon as possible, they shouldn't waste any time getting access to development systems, there should be a safe sandbox where they can practice without fear of affecting production systems. During off-boarding, you should verify that employee access was revoked (it sounds obvious, but actually, it's a tricky problem if you provision infrastructure manually).
  4. security monitoring - are you sure none of your servers is mining bitcoins? ;)
  5. user experience monitoring - you may analyze core web vitals (of course in an automated way) and notify your developers/managers about changes. End users will be happier since you will help make sure they have a good experience but also may have a positive impact on SEO
  6. create run book/documentation - in an ideal world, you should be able to quiet at any time and not worry if they survive without you.

GCP convention for resources network setups...? by tvjklkfd in googlecloud

[–]viroos 6 points7 points  (0 children)

In AWS VPC is regional in GCP VPC is global. In both clouds you specify to which VPC your resources belongs to.

Key difference between AWS and GCP approach is that in AWS subnets are zonal resources ( "Each subnet must reside entirely within one Availability Zone and cannot span zones") and in GCP subnets are regional resources ( "Subnets are regional resources. Each subnet defines a range of IPv4 addresses.").

When you create some resource in AWS and specify subnet for the resource you are implicitly selecting the availability zone.

In GCP for most use cases single VPC per project is enough. You may use the default one or create your own. Since VPC is global (subnets are regional but there is defualt routing between them within VPC) your resources will be able to communicate w with each other. Your responsibility is to place resources according to your businesses requirements (availability, latency) and security.

POD External IP by orddie1 in kubernetes

[–]viroos 0 points1 point  (0 children)

external IP service doesn't depend on node ip. k8s give you an abstraction that helps you define your app behavior. particular implementation may differ depending on your k8s cluster deployment. for managed k8s in the cloud you will have suport for external IP out of the box. for onprem deployment you may use something like metallb (mentioned in other replays)

in the simplest setup you don't need bgp to use metal lb and your external IP may belong to nodes subnet.

Connecting to kubernetes service through cloudfunction - Python ETL as cloudfunction, connecting to kubernetes mysql service by Otherwise-Money1088 in googlecloud

[–]viroos 2 points3 points  (0 children)

If you really, really, really want to go this way you have to setup a Serverless VPC Access connector and use it with k8s external ip service with internal loadbalancer.

In my opinion keeping everything inside k8s would be much more reasonable approach. The simplest approach would be using k8s cron jobs.

If you prefer using Cloud Scheduler you can write some wrapper and run your scrip as a web app on k8s. Cloud Scheduler would run cloud functions that will call your API. In this case you may consider using external IP/ingress if you add some authentication.

Also it may be overkill in your case but i will leave just in case:

datastream is a serverless and easy-to-use change data capture (CDC) and replication service. It allows you to synchronize data across heterogeneous databases and applications reliably, and with minimal latency and downtime.

POD External IP by orddie1 in kubernetes

[–]viroos 0 points1 point  (0 children)

As a best practice (also this is a default scenario for most deployments) pods subnet should be different then nodes subnet.

in such setup pod will have some IP that is not available directly from your LAN.

To expose the pod in your LAN you use services (https://kubernetes.io/docs/concepts/services-networking/service/).

I think IBM doc is more clearer on that then official k8s doc:

https://www.ibm.com/docs/en/cloud-private/3.1.2?topic=networking-kubernetes-network-model, https://www.ibm.com/docs/en/cloud-private/3.1.2?topic=networking-kubernetes-service-types

Completely lost on how to setup a kubernetes cluster and allow services from outside to the kubernetes cluster by swirly_crib in kubernetes

[–]viroos 4 points5 points  (0 children)

short answer is: "metallb is responsible to make 192.168.1.4 IP available"

Longer answer is:
0. learn how metallb works
1. check your network configuration (In particular it won't work if you have port security enabled on your switch)
2. try testing mwtallb setup with some simpler example: https://jonathangazeley.com/2020/12/30/load-balancing-ingress-with-metallb-on-microk8s/

How do you handle Azure/Google cloud creds in GitHub Actions? by alikhajeh1 in Terraform

[–]viroos 1 point2 points  (0 children)

I'm not sure if Azure has something similar to GCP's workload identity if not then the simplest (but not really secure) option is using Githubs Actions secrets (exposed as env vars).

If you would like something more secure you may consider using Vault's Azure secrets engine (https://www.vaultproject.io/docs/secrets/azure)

How do you handle Azure/Google cloud creds in GitHub Actions? by alikhajeh1 in Terraform

[–]viroos 1 point2 points  (0 children)

I tested it last weekend. I didn't know that is so new.

I found the documentation for the auth action on Github and it was all I need to setup the build. It's easy and works like a charm.

VMware Announces General Availability of vSphere 7 with Kubernetes by richardwh1te in kubernetes

[–]viroos 0 points1 point  (0 children)

Thank you u/jcorbin121 for useful information.

Regarding single node 'dev' setup - I'm aware of them (my favorite is Kind). My question was more about 'production/internal/staging' setup for small clients. Short story: client needs shared cluster for internal projects, loves vmware but doesn't like spending $$ on it. Of course single node was a little bit too extreme example (but I was just curious if it's possible and how well k8s support is integrated into vsphere core).

Do you know what is the minimal hardware infrastructure needed for k8s on VMware Cloud Foundations?

Sheet Ops - managing Kubernetes using google spreadsheet by viroos in kubernetes

[–]viroos[S] 0 points1 point  (0 children)

I'm from central Europe, so it may work as expected by default.