Difference between revisions of "--"

From wikieduonline
Jump to navigation Jump to search
(Created page with " sudo -u postgres -- bash -c "psql -c 'CREATE database tsdb'" sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'" EOF")
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
  
  [[sudo -u postgres]] -- bash -c "psql -c 'CREATE database tsdb'"
+
  [[sudo -u postgres]] -- bash -c "psql -c 'CREATE database [[tsdb]]'"
  sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'"
+
  sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS [[timescaledb]];'"
  
 +
[[kubectl exec]]
  
 +
[[kubectl run -it alpine --image=alpine -- sh]]
  
[[EOF]]
+
[[kubectl run -it --rm]] test --image=curlimages/curl --restart=Never -- /bin/sh
 +
 
 +
 
 +
 
 +
 
 +
== See also ==
 +
* {{kubectl run}}
 +
* {{EOF}}
 +
 
 +
[[Category:kubectl]]

Latest revision as of 20:09, 12 February 2024


sudo -u postgres -- bash -c "psql -c 'CREATE database tsdb'"
sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'"
kubectl exec
kubectl run -it alpine --image=alpine -- sh
kubectl run -it --rm test --image=curlimages/curl --restart=Never -- /bin/sh



See also[edit]

Advertising: