Skip to content
View felixkrohn's full-sized avatar
🤖
doing a bit here, a byte there.
🤖
doing a bit here, a byte there.
  • Planet Earth (temporarily)

Organizations

@puzzle
Block or Report

Block or report felixkrohn

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. openshift notepad openshift notepad
    1
    #### delete pod via API - from https://access.redhat.com/solutions/3536141
    2
        echo '{ "propagationPolicy": "Background" }' | curl -k -X DELETE -d @-  -H "Authorization: Bearer $TOKEN" -H 'Accept: application/json' -H 'Content-Type: application/json'  https://openshift-master.$DOMAIN/api/v1/namespaces/$NAMESPACE/pods/$PODNAME
    3
    #### kill haproxy processes older than 12h
    4
        ps -eo pid,etimes,comm,user | awk '{if ($3 = /haproxy/ && $2>43200) print $1}' | xargs kill -15
    5
    #### add infra nodeselector to namespace with oc patch
  2. centos8 @ OVH/SoYouStart/Kimsufi centos8 @ OVH/SoYouStart/Kimsufi
    1
    # centos8 @ OVH/SoYouStart/Kimsufi
    2
    ### How to install CentOS 8 on OVH/SoYouStart/Kimsufi
    3
    * connect to the OVH/SoYouStart/Kimsufi API and create a ipxe script under https://eu.api.kimsufi.com/console/#/me/ipxeScript#POST or equivalent, see centos8.ipxe below
    4
    * boot your server from this netboot, and ping it to follow the process. If you can observe the webserver's logs you will se your server's IP pulling kernel and initrd with "iPXE" user agent, then it will start pinging, and retrieve the kickstart.cfg a bit later (with "curl" user agent). This is the moment when you could set your server back to "Boot from Hard Disk".
    5
    * Also at this point you can connect to your server with SSH using the key/password set in the kickstart file. type `tmux a` to attach the install's tmux session and follow the progress. For debugging, check the logs in /tmp and those sent over syslog.
  3. checkbot checkbot Public

    Forked from tobiasdenzler/checkbot

    Checkbot is able to run custom bash script in a container running on OpenShift. These scripts can check funcitonality and compliance settings in your cluster.

    Go