kubernetes How to install k0s kzeros Kubernetes K0 (kzeros) in a new single binary distribution model for running and deploying Kubernetes. The project is available on GitHub here: https://github.com/k0sproject/k0s The k0s project comes from engineers working on the original docker project and it's some aims include making ruining and deploying Kubernetes clusters as
open source Sessions not set SameSite cookie Firefox vs Chome iframe This matter comes into play when you are embedding an iframe into your application (e.g. maybe your application is a SasS or you have a single sign on scenario), and you need to allow the embedded iframe to set cookies. tldr: https://twitter.com/rowan_m/status/1279013752520740865 I
open source FastAPI Production Deployment with Github actions & Dokku This FastAPI tutorial shows you how to develop and deploy python FastAPI to a server with automated deployment & TLS using Github Actions. Based on this FastAPI deployment example repo. * Auto generated API Docs: OpenAPI & Redoc * Github actions deployment pipeline: Actions Workflow * Automated TLS certificate creation & renewal * Deployment to live url
Sysadmin htaccess redirect old pages to new domain Sometimes you need to change a domain name, and you want to redirect all old pages to the new domain name. On your existing domain, you can redirect all requests to the new domain with something like the following: In your .htaccess file: RewriteEngine On RewriteBase
open source Quickly setup local Laravel development using docker without php installed locally The following will create the Laravel hello world application in your current working directory, without haveing needing to have the correct php version installed locally. docker run --rm --interactive --tty --volume $PWD:/app composer create-project --prefer-dist laravel/laravel blog Replace 'blog' with whatever you want to call your project. After
kubernetes How large public and private organisations are using teams, kubernetes, vault and git to manage their deployments This document sets out my observations of recently working in a large public sector environment in the UK managing significant workloads. This is also a good history comparing deployment practices of yesterday to more modern practices seen today I think there is a significant shift happening between organisations which are
docker Docker entrypoint vs cmd I'm always forgetting what is the difference between Docker's entry point vs Docker cmd. Which one to use and when? Tldr: "You can use the exec form of ENTRYPOINT to set fairly stable default commands and arguments and then use either form of CMD to set additional defaults that are
Notes on Kafka What is Kafka anyway? History of kafka From: https://engineering.linkedin.com/distributed-systems/log-what-every-software-engineer-should-know-about-real-time-datas-unifying > Many new products and analysis just came from putting together multiple pieces of data that had previously been locked up in specialized systems. > This (Kafka 'log') architecture also raises a set of different options for where
open source Installing Jenkins x with existing git repo How to install jenkinsx and import an existing git repo for your CI/CD pipelines development process. Enable faster teams and faster releases.
open source Kubernetes updating many deployments at once Subscribie is a website builder targeting the niche of users who want to build a subscription based website. It allows users to quickly spin up a website and sell items on subscription. It's GPLv3 licenced. There's a hosted Subscription website version. Requirements: Ability to scale to 10s, 100s of sites
open source Scaling Kubernetes ReadWriteMany Ceph Deployments Run ReadWriteMany volumes on Google Kubernetes engine which allows your Deployments with persistent data to scale. This allows us to scale a Kubernetes deployment with Persistent Volumes without the deployment getting stuck waiting for a realease on a volume. This tutotial has a repo which has been pinned as a
Sysadmin Kubernetes SSL Certificates- How to Set-up a Cluster With SSL Termination Using Cert Manager on a Kubernetes cluster to do SSL termination. By the end of this guide you will be able to: * Route SSL traffic from a domain your own (example.com) to a kubernetes cluster * Understand how to add additional domains to your cluster * Certificate renewal is automatic, handled
small business How to audit slack permissions Slacks permission system is based around scopes, read about Slack Scopes and Permissions [https://api.slack.com/scopes] Can public users view my workspace email accounts? The permission to "View your workspace members' email addresses" is users:read.email: https://api.slack.com/scopes/users:read.email How to check
programming Getting started with Java and Scala projects using Maven, intellij Coming from a Python/Php and/or systm administration bacground with no little to Java experience is daunting. * POM? What is that? (Is this like setuptools?) Not really, but sort of * Maven? What is it? * How do I even run this thing? * What's a war file? * Why can't I just
openshift Building Non Root Docker Images OpenShift * Bummer: You can rarely use an existing Dockerhub image and run it on OpenShift out the box. * Although with good intentions, this is a massive blow to developer experience coming from standard Kubernetes which is probably hindering adoption of OpenShift in the wider community * Openshift ignores the USER directive of
Understanding Kubernetes With containers, docker , Kubernetes etc I always have trouble working out: * Where should I put my database? * How do I handle secrets? (passwords, auth keys etc) * How do we take an old, monolithic application and refactor it to work like this? * How do I manage sessions? e.g persistant connections
open source Open Banking Project API Set-up Locally on IntelliJ Get the OBP-API codebase mkdir -p ~/obpapi-demo-install cd obpapi-demo-install/ git clone https://github.com/OpenBankProject/OBP-API.git cd OBP-API/ # Create detault props settings, by copying the templates cp src/main/resources/props/sample.props.template src/main/resources/props/default.props cp src/main/resources/props/test.default.props.template
open source Installing Rocketchat Self Hosting Debian 9.6 (Ubuntu) with Docker https://rocket.chat/docs/installation/manual-installation/debian/ Follow standard install steps First follow the Rocket install guide for Debian. Install Nginx sudo apt install nginx -y # Enable and start nginx sudo systemctl enable nginx && sudo systemctl start nginx Letsencrypt Add stretch-backports to sources list: echo "deb http://ftp.debian.org/
open source Scaling WordPress & WooCommerce For Dragons' Den How we prepare your website for a major TV screening We successfully hosted comapny: "The Sweet Beet" during BBC's 'Dragons' Den' screening this year which saw the site receive 133,000 visits over the course of just fifteen minutes. This post explains how we were able to keep their website
Backup a server to gcloud storage using rclone / rsync Install rclone on the source server: curl https://rclone.org/install.sh | sudo bash The rest of the guide will walk through: 1. Create a Google Storage project, get it's project number. 2. Create a storage bucket in that account 3. Run rclone config telling it to use Google Cloud
open source High Availability with HAproxy , Apache2 and MariaDB Galera Cluster Ubuntu 18.04 LTS & Centos 7 In this post we create a highly available web & database cluster using a compbination of: * MariaDB Galera Cluster of three nodes on Ubuntu 18.04 * HAproxy for load balancing (requests enter at this endpoint) on Centos 7 * Two Apache2 instancesfor web server(s) The config was used in a real
Learning Golang What's Go Lang for? Introduction to Go video Go is for * Scale * Large distributed systems, connecting thousands of machines * The complexity of modern, interconected systems * Supports: * Interfaces * Reflection * Concurrency * Assumes utf8 encoding throughout Writing & Running Go Language Files A basic Go language program must start with package main followed (usually)
small business Move Site From wpengine, how to migrate site The steps to migrate a website away from wpengine and move to another web host. 1 Perform a full site backup & Download Using the my.wpending console, perform a fill website back and wait for the email confirmation with the link to download the full backup. 2 Remove undeeded files/
programming How to build and publish a package on pypi.org Notes for building and publising a python package to pypi.org These notes are for python 2.7, sorry, but they still may be useful for python 3.x. Build it python setup.py bdist_wheel Upload your package to pypi twine upload dist/* Upgrage your system to the latest
analytics The Top Honest Expert Videos On SEO You Can't Pay Money For How did search engines begin- What are they? How do they work? Get free seo training (from genuine experts too!) The Digital Garage, made by Google, will teach you the basics of how search works (from a business perspective). Getting a basic understanding of how search works will help you