Reproducing a Traefik with SSL and Portainer setup on a 2 Node Docker Swarm
Install Docker on both nodes with a Bootstrap Script:
$ curl https://gitlab.com/rbekker87/scripts/raw/master/setup-docker-ubuntu.sh | bash
There is a lot of hidden treasure lying within university pages scattered across the internet. This list is an attempt to bring to light those awesome courses which make their high-quality material i.e. assignments, lectures, notes, readings & examinations available online for free.
# For more details see: https://capolight.wordpress.com/2018/07/02/how-to-sketch-equation-curves-in-fusion-360/ | |
import adsk.core, adsk.fusion, adsk.cam, traceback, math | |
def run(context): | |
ui = None | |
try: | |
app = adsk.core.Application.get() | |
ui = app.userInterface | |
design = app.activeProduct | |
# Get the root component of the active design. |
The TrueNAS installer doesn't have a way to use anything less than the full device. This is usually a waste of resources when installing to a modern NVMe which is usually several hundred of GB. TrueNAS SCALE will use only a few GB for its system files so installing to a 16GB partition would be helpful.
The easiest way to solve this is to modify the installer script before starting the installation process.
$disks=Get-PhysicalDisk | where {$_.operationalstatus -eq 'Transient Error'} | |
#Set disks to retired state | |
$disks | Select-Object UniqueId | ForEach-Object { | |
Set-PhysicalDisk -UniqueId $PSItem.UniqueId -Usage Retired | |
} | |
#remove disks from pool | |
$disks | ForEach-Object { | |
Remove-PhysicalDisk -PhysicalDisks $PSItem -StoragePoolFriendlyName 'S2D on HVCL0' -Confirm:$false |
@Configuration | |
@EnableHello | |
public class AppConfig implements NameConfigurer { | |
@Override | |
public void configure(Hello hello) { | |
hello.setName("Thank you very much, Toby."); | |
} | |
} |
version: '2' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:3.3.0 | |
hostname: zookeeper | |
ports: | |
- "2181:2181" | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 |