Skip to content

Instantly share code, notes, and snippets.

View vrutkovs's full-sized avatar
🙈
Not my cluster, not my FIRING

Vadim Rutkovsky vrutkovs

🙈
Not my cluster, not my FIRING
View GitHub Profile
apiVersion: agent-install.openshift.io/v1beta1
kind: AgentServiceConfig
metadata:
name: agent
spec:
iPXEHTTPRoute: enabled
databaseStorage:
storageClassName: local-storage
accessModes:
- ReadWriteOnce
kind: Project
apiVersion: project.openshift.io/v1
metadata:
name: sample-workloads
labels:
kubernetes.io/metadata.name: sample-workloads
spec:
finalizers:
- kubernetes
---
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
name: single-node-reserve-sys-mem
spec:
machineConfigPoolSelector:
matchLabels:
pools.operator.machineconfiguration.openshift.io/master: ""
kubeletConfig:
systemReserved:
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBFyss3UBCACoZ1VtnKiQb7LBoib65xtXD5I+khSvKyIwkTt+RlttfIwU3X4U
5Pk6BvckFp5tM5wYZ+nUKMEkRJs6NwcOmrILHPlbEwZ07VmtucmVfzCzPKlNjVhx
CQV0kpCqiuHlqA9BIVa58KKD9h8Z+nZvLoa2ZUKXO425ek6PqpoEBp6x2TxjTDg8
8zRTZKtOE4GCVbAbk4Ique3UszmMZiObclY3lHLPg/84tovXQoaNKQUc3hUrx1uZ
JzfpmhCmYdBdVq5H7TgEgUyDbBOdVYP/Qzu5zf4+kv2JSeDw4AgZlIePtsEq0kQD
SgdbedMprzcsTCO/LN1XzUpfKqf0GMsWd8hfABEBAAG0JVZhZGltIFJ1dGtvdnNr
eSA8dnJ1dGtvdnNAcmVkaGF0LmNvbT6JAU4EEwEIADgWIQTbhh0B1NETipk63Bo9
VLZyOyDGnwUCXKyzdQIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRA9VLZy
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/image.dockerRepositoryCheck: 2018-12-15T23:25:06Z
creationTimestamp: 2018-12-15T23:25:06Z
generation: 1
name: fedora
namespace: hubot
resourceVersion: "27332277"
#!/bin/bash
set -eux
set -o pipefail
cd /tmp
git clone https://robot:[email protected]/vadim/cluster-state.git
cd cluster-state
rm -rf ./*
# Globals
`fedora:28` static pod is being synced:
Oct 26 15:53:34 vrutkovs-ig-b-xx3g hyperkube[16949]: I1026 15:53:34.275963 16949 kuberuntime_manager.go:441] Syncing Pod "foo-vrutkovs-ig-b-xx3g_default(8479682e4e48fedf263f4549ddf23d37)":
&Pod{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:foo-vrutkovs-ig-b-xx3g,GenerateName:,Namespace:default,SelfLink:/api/v1/namespaces/default/pods/foo-vrutkovs-ig-b-xx3g,UID
:8479682e4e48fedf263f4549ddf23d37,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string
{},Annotations:map[string]string{kubernetes.io/config.hash: 8479682e4e48fedf263f4549ddf23d37,kubernetes.io/config.seen: 2018-10-26T15:51:30.257326779Z,kubernetes.io/config.source: file,},Owne
rReferences:[],Finalizers:[],ClusterName:,Initializers:nil,},Spec:PodSpec{Volumes:[],Containers:[{fedora fedora:28 [] [] [] [] [] {map[] map[]} [] [] nil nil nil /dev/termination-log File If
NotPresent nil false fa
@vrutkovs
vrutkovs / .awscred
Last active September 26, 2018 15:39
[Credentials]
aws_access_key_id=xxxx
aws_secret_access_key=zzzz
stages:
- build
- push
- cleanup
build:
stage: build
variables:
REGISTRY_SERVER: foo.bar
IMAGE_NAME: vrutkovs-public/openshift-ansible-testing
This file has been truncated, but you can view the full file.
May 04 15:21:27 ocp-master origin-node[11828]: I0504 15:21:27.968328 11837 desired_state_of_world_populator.go:302] Added volume "sdn-token-m98fc" (volSpec="sdn-token-m98fc") for pod "740a6fb8-4fae-11e8-8c79-fa163e2823cd" to desired state.
May 04 15:21:28 ocp-master origin-node[11828]: I0504 15:21:28.067717 11837 reconciler.go:237] Starting operationExecutor.MountVolume for volume "sdn-token-m98fc" (UniqueName: "kubernetes.io/secret/740a6fb8-4fae-11e8-8c79-fa163e2823cd-sdn-token-m98fc") pod "ovs-zdwcl" (UID: "740a6fb8-4fae-11e8-8c79-fa163e2823cd") Volume is already mounted to pod, but remount was requested.
May 04 15:21:28 ocp-master origin-node[11828]: I0504 15:21:28.068448 11837 secret.go:186] Setting up volume sdn-token-m98fc for pod 740a6fb8-4fae-11e8-8c79-fa163e2823cd at /var/lib/origin/openshift.local.volumes/pods/740a6fb8-4fae-11e8-8c79-fa163e2823cd/volumes/kubernetes.io~secret/sdn-token-m98fc
May 04 15:21:28 ocp-master origin-node[11828]: I0504 15:21:28.079063 11837 secret.go:216] Received sec