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
Ursula - nucypher ursula run --dev --federated-only | |
Alice - nucypher alice run --dev --federated-only --teacher 127.0.0.1:10151 | |
Bob - nucypher bob run --dev --federated-only --teacher 127.0.0.1:10151 --controller-port 4000 | |
Enrico - nucypher enrico run --policy-encrypting-key <Key from Policy Creation> --http-port 5000 | |
Create Policy - | |
POST | |
localhost:8151/derive_policy_encrypting_key/<Label> |
I had this really small problem today. I wanted to migrate one of my small django apps to use postgres, just to make everything easy to manage. Sqlite3 is perfectly fine for the amount of load, however I am really much faster at administering postgres than I am on sqlite3. So I decided to migrate the stuff over. | |
I tried a few approaches, but what ultimately worked the best and the fastest fo rmy particular problem was to do the following. | |
Use original SQLITE3 connection in settings.py | |
1. python manage.py dumpdata > dump.json | |
(I read some things here about some options you can pass, at the end what just worked was the following) | |
2. Change DB connection string in settings.py to POSTGRES |