Skip to content

Instantly share code, notes, and snippets.

Mark Lamourine markllama

Block or report user

Report or block markllama

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@markllama
markllama / rkt-get-images
Last active Aug 29, 2015
Rocket - Get Images
View rkt-get-images
sudo rkt images
KEY APPNAMEIMPORTTIME LATEST
sha512-6d9abded1af3a9a58c5bb34dcb4664ef99c8a1f9e121fcb8e69ed6705b4a39e8 fedora-rocketfiles/bash:1.2.1 2015-06-05 18:37:40.338 -0400 EDT false
sha512-822778138a2ac9cfcfbd0565cebc1206c4f9f224933632d17c21230a6d4e5f70 coreos.com/rkt/stage1:0.0.1 2015-06-05 18:47:09.233 -0400 EDT false
sudo rkt run sha512-6d9abded1af3a9a58c5bb34dcb4664ef99c8a1f9e121fcb8e69ed6705b4a39e8
...
sudo rkt run sha512-6d9abded1af
...
@markllama
markllama / rkt-run-biash
Last active Aug 29, 2015
Rocket - run a simple container
View rkt-run-biash
sudo rkt run https://github.com/fedora-cloud/Fedora-rktfiles/releases/download/v0.5.1/bash-1.2.1-linux-amd64.aci 2>&1 | more
rkt: fetching image from https://github.com/fedora-cloud/Fedora-rktfiles/release
s/download/v0.5.1/bash-1.2.1-linux-amd64.aci
Downloading signature from https://github.com/fedora-cloud/Fedora-rktfiles/relea
ses/download/v0.5.1/bash-1.2.1-linux-amd64.aci.asc
Downloading signature: [=======================================] 473 B/473 B
Downloading ACI: [ ] 16.4 KB/2.81 MB
Downloading ACI: [=============================================] 2.81 MB/2.81 MB
rkt: signature verified:
@markllama
markllama / rkt-add-trust-cert
Created Jun 5, 2015
Rocket - Add a trust certificate
View rkt-add-trust-cert
sudo rkt trust --prefix coreos.com/etcd
Prefix: "coreos.com/etcd"
Key: "https://coreos.com/dist/pubkeys/aci-pubkeys.gpg"
GPG key fingerprint is: 8B86 DE38 890D DB72 9186 7B02 5210 BD88 8818 2190
CoreOS ACI Builder <release@coreos.com>
Are you sure you want to trust this key (yes/no)?
yes
Trusting "https://coreos.com/dist/pubkeys/aci-pubkeys.gpg" for prefix "coreos.com/etcd".
Added key for prefix "coreos.com/etcd" at "/etc/rkt/trustedkeys/prefix.d/coreos.com/etcd/8b86de38890ddb7291867b025210bd8888182190"
View Rocket RPM - installation, contents and services
wget https://github.com/markllama/rkt/releases/download/v0.5.6/rkt-0.5.6-1_a07bdc3.fc22.x86_64.rpm
dnf install rkt-0.5.6-1_a07bdc3.fc22.x86_64.rpm
rpm -ql -p ~/rpmbuild/RPMS/x86_64/rkt-0.5.6-1_a07bdc3.fc22.x86_64.rpm
/usr/bin/actool
/usr/bin/rkt
/usr/lib/systemd/system/rkt-gc.service
/usr/lib/systemd/system/rkt-gc.timer
/usr/lib/systemd/system/rkt-metadata.service
View Download and Unpack Stock Rocket Release
wget https://github.com/coreos/rkt/releases/download/v0.5.6/rkt-v0.5.6.tar.gz
tar -xvf rkt-v0.5.6.tar.gz
rkt-v0.5.6/
rkt-v0.5.6/stage1.aci
rkt-v0.5.6/rkt
tar -tzf rkt-v0.5.6/stage1.aci
rootfs
rootfs/diagexec
rootfs/enter
@markllama
markllama / https-service.json
Created Dec 19, 2014
Kubernetes service spec for HTTPs
View https-service.json
{
"id": "https",
"kind": "Service",
"apiVersion": "v1beta1",
"port": 443,
"publicIPs": ["10.245.1.5"],
"selector": {
"name": "pulphttps"
},
}
@markllama
markllama / http-service.json
Created Dec 19, 2014
Kubernetes service spec for HTTP
View http-service.json
{
"id": "http",
"kind": "Service",
"apiVersion": "v1beta1",
"port": 80,
"publicIPs": ["10.245.1.5"],
"selector": {
"name": "pulphttp"
},
}
@markllama
markllama / kube_qpid_service.json
Created Dec 19, 2014
Kubernetes service description for QPID
View kube_qpid_service.json
{
"id": "msg",
"kind": "Service",
"apiVersion": "v1beta1",
"port": 5672,
"publicIPs": ["10.245.1.3"],
"selector": {
"name": "msg"
}
}
@markllama
markllama / docker_pulp_apache_run_sh
Created Oct 27, 2014
Initialize and start the Apache/WSGI services for Pulp
View docker_pulp_apache_run_sh
#!/bin/sh
#
# Configure the Apache daemon and WSGI application
# Install SSL certificates
# Configure the web tree in the volumes
#
set -x
# Requires environment variables:
#
@markllama
markllama / docker_pulp_apache_Dockerfile
Last active Aug 29, 2015
The description of a Pulp Apache/WSGI service container
View docker_pulp_apache_Dockerfile
FROM markllama/pulp-base
MAINTAINER Mark Lamourine <markllama@gmail.com>
#
# docker run -d --name pulp-apache \
# -v /dev/log:/dev/log --volumes-from pulp-content
# -p 443:443 \
# -e PULP_SERVER_NAME=pulp.example.com \
# -e SSL_TARBALL_URL=<url> markllama/pulp-apache
#
You can’t perform that action at this time.