Adding Authentication with no-code, Istio and Keycloak | Jonathan Vila
1_DevOps'ish
Using pull through cache rules - Amazon ECR
The Meaning(lessness) of Serverless | by Ben Kehoe | Mar, 2023 | Medium
GitHub - mutagen-io/mutagen: Fast file synchronization and network forwarding for remote development
Fast file synchronization and network forwarding for remote development - GitHub - mutagen-io/mutagen: Fast file synchronization and network forwarding for remote development
The 72-hour scramble to save the United States from a banking crisis
DEV-1101 enables high-volume AiTM campaigns with open-source phishing kit - Microsoft Security Blog
DEV-1101 is an actor tracked by Microsoft responsible for the development, support, and advertising of several AiTM phishing kits, including an open-source kit capable of circumventing MFA through reverse-proxy functionality.
Transcript: Treasury Secretary Janet Yellen on "Face the Nation," March 12, 2023
The following is a transcript of an interview with Treasury Secretary Janet Yellen that aired on "Face the Nation" on Sunday, March 12, 2023.
Uncertainty Haunts ASML’s China Customers on New Export Curbs
For Chinese customers, the restrictions would mean “that their ability to pursue leading-edge nodes development will be significantly curtailed," Citi analyst Amit Harchandani said
Discord promises outraged users it won’t store call recordings—for now
Discord staff promises shocked Reddit users, "We are going to fix this."
Tennessee among states looking to end daylight saving time changes
According to a state law, should the federal government authorize states’ observance of permanent daylight saving time, Tennessee would do so throughout the year.
ipmitool Repository Archived, Developer Suspended By GitHub
The ipmitool utility on Linux systems is widely-used for controlling IPMI-enabled servers and other systems
Microsoft confirms it won't have a physical presence at E3
Microsoft confirmed it won't have a presence on E3 2023's showfloor. In a statement sent to IGN, the platform holder sa…
Denied by AI: How Medicare Advantage plans use algorithms to cut off care for seniors in need
An algorithm, not a doctor, predicted a rapid recovery for Frances Walter, an 85-year-old Wisconsin woman with a shattered left shoulder and an allergy to
AWS Jobs for People with Their Head in the Cloud - LWIA Job Board
Love me some btop - the htop alternative
Have you ever experienced slow application performance on a server and wondered which process was causing the bottleneck? In a production server
Week Ending March 12, 2023
Developer News
The SSD Edition: 2022 Drive Stats Review
Welcome to the SSD Edition of the 2022 Annual Drive Stats Reports. Check out the data and let us know what you think in the comments.
A social psychologist found that showing people how manipulative techniques work can create resilience against misinformation
A social psychologist found that showing people how manipulative techniques work can create resilience against misinformation
Intro to Kubernetes - Containers at Scale Containerized Adventures
Kubernetes is all about containers at scale. But what does that mean? Learn more with this illustrated intro to Kubernetes!
Recognition and rewards at work
“What we recognize is what we reward.”
HeyCLI/heyCLI_client: HeyCLI allows you to use your command line terminal in natural language
HeyCLI allows you to use your command line terminal in natural language - HeyCLI/heyCLI_client: HeyCLI allows you to use your command line terminal in natural language
AI Startup Anthropic Raising Another $300M At $4.1B Valuation — Report
SF-based AI startup and rival to ChatGPT Anthropic is raising another $300 million round at a pre-investment valuation of $4.1 billion.
FBI finally admits to buying location data on Americans, horrifying experts
FBI director denied that the agency currently purchases location data.
The first rule of Yubikeys — Buy two! How to Yubikey: a configuration cheatsheet
How to use and configure a Yubikey
Kubernetes Container Image Registry Changes
What you need to know and do before 20th March 2023.
Silicon Valley Bank collapses after failing to raise capital | CNN Business
Silicon Valley Bank collapsed Friday morning after a stunning 48 hours in which a bank run and a capital crisis led to the second-largest failure of a financial institution in US history.
Blog: k8s.gcr.io Redirect to registry.k8s.io - What You Need to Know
Authors : Bob Killen (Google), Davanum Srinivas (AWS), Chris Short (AWS), Frederico Muñoz (SAS
Institute), Tim Bannister (The Scale Factory), Ricky Sadowski (AWS), Grace Nguyen (Expo), Mahamed
Ali (Rackspace Technology), Mars Toktonaliev (independent), Laura Santamaria (Dell), Kat Cosgrove
(Dell)
On Monday, March 20th, the k8s.gcr.io registry will be redirected to the community owned
registry ,
registry.k8s.io .
TL;DR: What you need to know about this change
On Monday, March 20th, traffic from the older k8s.gcr.io registry will be redirected to
registry.k8s.io with the eventual goal of sunsetting k8s.gcr.io.
If you run in a restricted environment, and apply strict domain name or IP address access policies
limited to k8s.gcr.io, the image pulls will not function after k8s.gcr.io starts redirecting
to the new registry.
A small subset of non-standard clients do not handle HTTP redirects by image registries, and will
need to be pointed directly at registry.k8s.io.
The redirect is a stopgap to assist users in making the switch. The deprecated k8s.gcr.io registry
will be phased out at some point. Please update your manifests as soon as possible to point to
registry.k8s.io .
If you host your own image registry, you can copy images you need there as well to reduce traffic
to community owned registries.
If you think you may be impacted, or would like to know more about this change, please keep reading.
Why did Kubernetes change to a different image registry?
k8s.gcr.io is hosted on a custom Google Container Registry
(GCR) domain that was set up solely for the Kubernetes
project. This has worked well since the inception of the project, and we thank Google for providing
these resources, but today, there are other cloud providers and vendors that would like to host
images to provide a better experience for the people on their platforms. In addition to Google’s
renewed commitment to donate $3
million to support the project's
infrastructure last year, Amazon Web Services announced a matching donation during their Kubecon NA
2022 keynote in Detroit . This will provide a better experience
for users (closer servers = faster downloads) and will reduce the egress bandwidth and costs from
GCR at the same time.
For more details on this change, check out registry.k8s.io: faster, cheaper and Generally Available
(GA) .
Why is a redirect being put in place?
The project switched to registry.k8s.io last year with the 1.25
release ; however, most of
the image pull traffic is still directed at the old endpoint k8s.gcr.io. This has not been
sustainable for us as a project, as it is not utilizing the resources that have been donated to the
project from other providers, and we are in the danger of running out of funds due to the cost of
serving this traffic.
A redirect will enable the project to take advantage of these new resources, significantly reducing
our egress bandwidth costs. We only expect this change to impact a small subset of users running in
restricted environments or using very old clients that do not respect redirects properly.
What images will be impacted?
ALL images on k8s.gcr.io will be impacted by this change. k8s.gcr.io hosts many images beyond
Kubernetes releases. A large number of Kubernetes subprojects host their images there as well. Some
examples include the dns/k8s-dns-node-cache , ingress-nginx/controller , and
node-problem-detector/node-problem-detector images.
What will happen to k8s.gcr.io?
Separate from the the redirect, k8s.gcr.io will be frozen and will not be updated with new images
after April 3rd, 2023 . k8s.gcr.io
will not get any new releases, patches, or security updates. It will continue to remain available to
help people migrate, but it WILL be phased out entirely in the future.
I run in a restricted environment. What should I do?
For impacted users that run in a restricted environment, the best option is to copy over the
required images to a private registry or configure a pull-through cache in their registry.
There are several tools to copy images between registries;
crane is one
of those tools, and images can be copied to a private registry by using crane copy SRC DST . There
are also vendor-specific tools, like e.g. Google’s
gcrane , that
perform a similar function but are streamlined for their platform.
How can I check registry.k8s.io is accessible from my cluster?
To test connectivity to registry.k8s.io and being able to pull images from there, here is a sample
command that can be executed in the namespace of your choosing:
kubectl run hello-world --tty --rm -i --image=registry.k8s.io/busybox:latest sh
When you run the command above, here’s what to expect when things work correctly:
$ kubectl run hello-world --tty --rm -i --image=registry.k8s.io/busybox:latest sh
If you don't see a command prompt, try pressing enter.
/ # exit
Session ended, resume using 'kubectl attach hello-world -c hello-world -i -t' command when the pod is running
pod "hello-world" deleted
What kind of errors will I see if I’m impacted?
Errors may depend on what kind of container runtime you are using, and what endpoint you are routed
to, but it should present such as ErrImagePull , ImagePullBackOff , or a container failing to be
created with the warning FailedCreatePodSandBox .
Below is an example error message showing a proxied deployment failing to pull due to an unknown
certificate:
FailedCreatePodSandBox: Failed to create pod sandbox: rpc error: code = Unknown desc = Error response from daemon: Head “https://us-west1-docker.pkg.dev/v2/k8s-artifacts-prod/images/pause/manifests/3.8”: x509: certificate signed by unknown authority
How can I find which images are using the legacy registry, and fix them?
Option 1 : See the one line kubectl command in our earlier blog
post :
kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" |\
tr -s '[[:space:]]' '\n' |\
sort |\
uniq -c
Option 2 : A kubectl krew plugin has been developed called
community-images ,
that will scan and report any images using the k8s.gcr.io endpoint.
If you have krew installed, you can install it with:
kubectl krew install community-images
and generate a report with:
kubectl community-images
For alternate methods of install and example output, check out the repo:
kubernetes-sigs/community-images .
Option 3 : If you do not have access to a cluster directly, or manage many clusters - the best
way is to run a search over your manifests and charts for "k8s.gcr.io" .
Option 4 : If you wish to prevent k8s.gcr.io based images from running in your cluster, example
policies for Gatekeeper and
Kyverno are available in the AWS EKS Best Practices
repository
that will block them from being pulled. You can use these third-party policies with any Kubernetes
cluster.
Option 5 : As a LAST possible option, you can use a Mutating
Admission Webhook
to change the image address dynamically. This should only be
considered a stopgap till your manifests have been updated. You can
find a (third party) Mutating Webhook and Kyverno policy in
k8s-gcr-quickfix .
I still have questions, where should I go?
For more information on registry.k8s.io and why it was developed, see registry.k8s.io: faster,
cheaper and Generally Available .
If you would like to know more about the image freeze and the last images that will be available
there, see the blog post: k8s.gcr.io Image Registry Will Be Frozen From the 3rd of April
2023 .
Information on the architecture of registry.k8s.io and its request handling decision
tree
can be found in the kubernetes/registry.k8s.io
repo .
If you believe you have encountered a bug with the new registry or the redirect, please open an
issue in the kubernetes/registry.k8s.io
repo . Please check if there is an issue already
open similar to what you are seeing before you create a new issue .
The basics of Arm64 Assembly
Just one instruction at a time!
GitHub to require 2FA for all contributors starting from March 13
Beginning March 13, GitHub will require two-factor authentication for all developers who contribute code to any project on the platform.
GitHub - zauberzeug/nicegui: Create web-based UI with Python. The nice way.
Create web-based UI with Python. The nice way. Contribute to zauberzeug/nicegui development by creating an account on GitHub.