- Updated on May 29 to accommodate etcd container not having
/bin/shavailable anymore.
curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
| diff --git a/Dockerfile b/Dockerfile | |
| index 5e32433..f746306 100644 | |
| --- a/Dockerfile | |
| +++ b/Dockerfile | |
| @@ -24,8 +24,17 @@ PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (LinuxServer.io)" | |
| RUN \ | |
| echo "**** install runtime packages ****" && \ | |
| apt-get update && \ | |
| + apt-get install -y software-properties-common && \ | |
| + add-apt-repository ppa:oibaf/graphics-drivers -y && \ |
Registering Rancher managed clusters in Argo CD doesn't work out of the box unless the Authorized Cluster Endpoint is used. Many users will prefer an integration of Argo CD via the central Rancher authentication proxy (which shares the network endpoint of the Rancher API/GUI). So let's find out why registering clusters via Rancher auth proxy fails and how to make it work.
Hint: If you are just looking for the solution scroll to the bottom of this page.
Sample script that allows you to define as environment variables the name of the docker secret that contains the secret value. It will be in charge of analyze all the environment variables searching for the placeholder to substitute the variable value by the secret.
You can define the next environment variables:
| virtualenv .\test-env | |
| cd .\test-env | |
| Scripts\activate | |
| cd .. | |
| pip install vendor\mysqlclient-1.3.8-cp35-cp35m-win32.whl | |
| pip install -r requirements.txt | |
| python manage.py runserver 8000 |
You can now read this on my (pretty) website! Check it out here.
Every reason to get more HackerPoints™ is a good one, so today we're going to
write a neat command line app in .NET Core! The Common library has a really cool
package Microsoft.Extensions.CommandlineUtils to help us parse command line
arguments and structure our app, but sadly it's undocumented.
No more! In this guide, we'll explore the package and write a really neat
| import multiprocessing | |
| import numpy | |
| #Demonstrates shared memory numpy arrays with no synchronization between processes | |
| def increment(s_arr): | |
| #A function for a single process | |
| #increment every element in s_arr by 1.0 | |
| #s_arr is a shared array from multiprocessing |