Skip to content

Instantly share code, notes, and snippets.

View davidjbrewer's full-sized avatar
🎯
Focusing

David J. Brewer davidjbrewer

🎯
Focusing
View GitHub Profile
@davidjbrewer
davidjbrewer / k3s-aws-cloud-provider.md
Created June 19, 2023 18:33 — forked from yankcrime/k3s-aws-cloud-provider.md
Auto-deploying the external AWS Cloud Provider when bootstrapping K3s

Installing K3s with the external ("out-of-tree") AWS Cloud Provider

Pre-requisites

Refer to the upstream project's official documentation for the various pre-requisites. You must have an IAM role with the right permissions attached to your K3s instances, and you must also tag your nodes with a clusterid. Refer to the Rancher documentation for how to do this

Install K3s with the following options:

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server \
@davidjbrewer
davidjbrewer / k8s-using-talos-in-vms.md
Created November 1, 2021 14:46 — forked from cyrenity/k8s-using-talos-in-vms.md
Setup kubernetes cluster using Talos (Lab)

Setup Kubernetes cluster in minutes using Talos

1. Get talosctl

Download and install talosctl binary

wget https://github.com/talos-systems/talos/releases/download/v0.8.1/talosctl-linux-amd64
@davidjbrewer
davidjbrewer / kubectl.md
Created June 21, 2019 18:56 — forked from so0k/kubectl.md
Playing with kubectl output

Kubectl output options

Let's look at some basic kubectl output options.

Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).

We can start with:

kubectl get no
@davidjbrewer
davidjbrewer / todo-default-template.json
Created September 16, 2018 19:59 — forked from tqvarnst/todo-default-template.json
An example template for accessing JBoss Data Grid via Hot Rod using a JBoss EAP application
{
"kind": "Template",
"apiVersion": "v1",
"metadata": {
"annotations": {
"iconClass": "icon-jboss",
"description": "Application template Todo task list application",
"tags": "datagrid,jboss,xpaas",
"version": "1.2.0"
},
@davidjbrewer
davidjbrewer / rhpam7_installer_files.md
Created September 15, 2018 16:47 — forked from ejlp12/rhpam7_installer_files.md
Red Hat Process Automation Manager
Download File	                                                                          Release Date
--------------------------------------------------------------------------------------- ------------------------
Red Hat Process Automation Manager 7.0 Installer                                        05/31/2018 09:22 AM EDT	
Red Hat Process Automation Manager 7.0 Process Server for All Supported EE7 Containers  05/31/2018 09:22 AM EDT	
Red Hat Process Automation Manager 7.0 Business Central Deployable for EAP 7            05/31/2018 09:22 AM EDT	
Red Hat Process Automation Manager 7.0 Business Central Standalone                      05/31/2018 09:22 AM EDT	
Red Hat Process Automation Manager 7.0 Add-Ons                                          05/31/2018 09:22 AM EDT	
Red Hat Process Automation Manager 7.0 Maven Repository                                 05/31/2018 09:22 AM EDT	
@davidjbrewer
davidjbrewer / standalone-ha.xml
Created August 29, 2018 16:11 — forked from maximRnback/standalone-ha.xml
keycloak standalone-ha.xml configurations file for docker image behind reverse proxy (HTTPS) using postgresql as datasource
<?xml version="1.0" encoding="UTF-8"?>
<server xmlns="urn:jboss:domain:4.0">
<extensions>
<extension module="org.jboss.as.clustering.infinispan"/>
<extension module="org.jboss.as.clustering.jgroups"/>
<extension module="org.jboss.as.connector"/>
<extension module="org.jboss.as.deployment-scanner"/>
<extension module="org.jboss.as.ee"/>
<extension module="org.jboss.as.ejb3"/>
<extension module="org.jboss.as.jaxrs"/>
@davidjbrewer
davidjbrewer / Eclipse Che won't start after upgrade to 6.2.0
Last active March 31, 2018 12:58
Eclipse Che (Docker Hosted) won't start
Had to add:
-e CHE_KEYCLOAK_AUTH-SERVER-URL=192.168.0.143:5050/auth
notice the key format (dashes instead of underscores)
This is likely to be fixed (should be underscores for consistency).
docker run -it -e CHE_MULTIUSER=true -e CHE_KEYCLOAK_AUTH-SERVER-URL=192.168.0.143:5050/auth -v /var/run/docker.sock:/var/run/docker.sock -v ~/.che-multiuser:/data eclipse/che:6.2.0 start
@davidjbrewer
davidjbrewer / eclipse che will not start
Last active March 28, 2018 11:40
Hosted Eclipse Che Won't Start
Obvious to try after getting error message below:
sudo chmod 777 /var/run/docker.sock
Disable SElinux.
Update your Docker to the latest version.
[centos@master ~]$ sudo docker run -it -e CHE_MULTIUSER=true -v /var/run/docker.sock:/var/run/docker.sock -v ~/.che-multiuser:/data eclipse/che:6.1.1 restart
INFO: Welcome to Eclipse Che!
INFO:
INFO: You are missing a mandatory parameter: