Skip to content

Instantly share code, notes, and snippets.

Kubernetes Early Adopter (2016)

Stephan Kristyn stevek-pro

Kubernetes Early Adopter (2016)
  • Site Reliability Engineer für testgetriebene Software Entwicklung, Automation, ML Pipelines, zeroOps
  • München, Bayern
  • Twitter @transformatik
View GitHub Profile
stevek-pro /
Created Feb 22, 2021
Quay Basic Sample Request
import requests
r ='', headers={'content-type': 'application/json', 'Authorization': 'Bearer LLDDBIYHDQSVE0IKOEN329QUDQRX96FDIZK20MP3X2PH7TVOMCXDKNXBYS0TQPASZXCCHU2R5AMZQ3OIMYN11QAEWHCGETVRF3BDOEZFJBA7WSGGTFVTVT43'}, data={'test':'value'}, verify=False)
stevek-pro / integration_tests.yml
Last active Feb 9, 2021
Quay HA Integration Testing
View integration_tests.yml
- when: inventory_hostname == groups['local'][0]
become: yes
- name: Before - Create CA
- name: Create CA Folder
path: "/etc/docker/certs.d/{{ groups['quay'][0] }}"
state: directory
stevek-pro / container-quayconfig.yml
Last active Jan 14, 2021
Quay Config SSL: An error occurred loading TLS
View container-quayconfig.yml
# Ansible Quay Config Container
- name: Quay Setup - Create Config Container
name: quay-config
user: "{{ quay_runtime_uid | default(omit) }}"
recreate: yes
restart: no
image: "{{ quay_image }}"
stevek-pro / gist:19c1e421c4fc9be337070bc996d2a0b8
Last active Oct 30, 2020
mikrok8s ambassador installation 30/Oct/2020
View gist:19c1e421c4fc9be337070bc996d2a0b8
# Update for official Cannonical Script:
# By 30/Oct/2020 - MIT Licence - Do as you like on your own risk.
kind: Pod
apiVersion: v1
name: foo-app
app: foo
stevek-pro / App.vue
Created Feb 14, 2020
Vue2 Page Transitions Part 1 - Controls -
View App.vue
<div id="app">
<component :is="state.view">
<h1>{{ state.view }}</h1>
stevek-pro /
Last active Jun 4, 2018
Continuous Integration and Testing with Ionic 2
#!/usr/bin/env bash
cd /Users/buddybuild/workspace
echo '=== Fixing Sass Error ==='
npm install node-sass
echo '=== Running Tests ==='
npm install -g karma
karma start --single-run
View Kubernetes Client Go Daddy v1.9
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome file</title>
<link rel="stylesheet" href="" />
stevek-pro /
Last active Nov 18, 2016
Ionic Run Ios Deploy Locally
npm uninstall ios-deploy
sudo npm install -g ios-deploy --unsafe-perm=true --allow-root
rm -rf www/* //optional
ionic build //optional
ionic run ios --deploy
View user-info.component.html
<!-- RC0 Upgrade: Changed control to formControl on validationError - UNTESTED! -->
<ion-header navigation title='{{ "§USER_INFO.HEADER" | translate }}'></ion-header>
<ion-content class="personal-info">
<form [formGroup]="infoForm">
View purchase.reducer.ts
import { ActionReducer, Action } from "@ngrx/store";
import { ActionType } from "./action-type";
import { PurchaseModel } from "../purchase/purchase.model";
export const currentPurchase: ActionReducer<PurchaseModel> = (state:PurchaseModel = new PurchaseModel(), action:Action) => {
switch (action.type) {
case ActionType.SET_PURCHASE: