Fedora, Vagrant, Libvirt, and Functional DNS

For my work on OpenShift I wanted a way to use my local workstation as a test cluster with vms for a master and multiple nodes. Ideally it would be possible to quickly teardown and rebuild the whole cluster, but I also want reliable hostnames (and IPs) across each rebuild. This post outlines a way to do this with Fedora (25 as of writing) and Vagrant. The key to getting Fedora configured such that the hostnames and DNS will work is this post by Dominic Cleal.…

Keep reading

Reverse Proxying to Docker Containers with Nginx

On my personal VPS I host a handful of websites accessed from a variety of domains and sub-domains, as well as a few more involved webapps such as tt-rss. Historically applications that cross multiple programming languages and databases have been a terrible pain to deploy and keep running on a private server, but since containers have arrived this has become a lot easier. On my server, I wanted to have a web server listening on the standard http/https ports proxying traffic for a variety of sites and applications, based on the domain/sub-domain in the request.…

Keep reading

tito 0.6.10

tito 0.6.10 was tagged and built this morning, brought to you almost entirely by the newest tito committer skuznets. Changelog Do not undo tags when git state is dirty (skuznets@redhat.com) Parse options in tito init (skuznets@redhat.com) Only use rpmbuild --noclean if it is supported (skuznets@redhat.com) Explicitly define indicies in formatting statements (skuznets@redhat.com) Achieve quiet output from rpmbuild without passing --quiet (skuznets@redhat.com) Update the MANIFEST.in (skuznets@redhat.com) Correctly pass verbosity options through the builder CLI (skuznets@redhat.…

Keep reading

tito 0.6.9

I’ve just pushed a release of tito 0.6.9 with the following changes: Simplified version and release update logic (skuznets@redhat.com) Added --use-release flag for tito tag (skuznets@redhat.com) Fix typos/errors in man pages (lsedlar@redhat.com) Explain how automatic tagging was done (msuchy@redhat.com) Add support for bumping version for Cargo projects (sehnoutka.martin@gmail.com) Right now this is available in my Copr repo, and builds are on their way for Fedora and EPEL. My thanks to all who contributed patches!…

Keep reading

Zero Downtime Upgrades With Openshift Ansible

A large portion of my time on the OpenShift team has been spent working on cluster lifecycle improvements, particularly in the realm of upgrades. Throughout this work we’ve been targeting the ability to upgrade clusters without requiring application downtime. I recently took some time to demonstrate that we can hit that target, please check out the results on the OpenShift Blog: Zero Downtime Upgrades With OpenShift Ansible…

Keep reading

Kubeadm (Alpha) Security Trade-Offs

With Kubernetes 1.4 sig-cluster-lifecycle released an alpha of kubeadm, a new utility we’ve been working on to make cluster bootstrapping as simple as possible for new users, but also provide tooling and infrastructure that can be used for production clusters. The initial goal was simple, install the bits (now delivered via new OS packages), one command to create a cluster: $ kubeadm init And one very short command to copy and paste to join nodes to the cluster:…

Keep reading

True Shared Directories Across Android and Linux

I like to keep a shared directory across my phone, tablet, laptop and workstation. I find this quite handy for my password db, getting documents/photos I save on mobile over to my desktop or to sync media out to my phone/tablet for offline use. Seems like a relatively simple goal but it’s been a bit complicated to find something reliable. The obvious starting point would be Dropbox, Box, or even OwnCloud, but these all seem to have the same approach where the mobile apps just let you download the files you want on demand, by default nothing is synced to your mobile device automatically, and any file you add on Android must be saved and then manually uploaded.…

Keep reading