MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings
From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.
With Motoshare, every parked vehicle finds a purpose.
Owners earn. Renters ride.
🚀 Everyone wins.
238 kubectl get nodes
239 ls
240 clear
241 ls
242 mkdir charts
243 cd charts/
244 ls
245 clear
246 ls
247 helm create ourchart
248 tree
249 apt install tree
250 clear
251 ls
252 tree
253 more ourchart/templates/deployment.yaml
254 clear
255 rm .\ourchart\templates\*yaml
256 ls
257 rm ourchart/templates/*yaml
258 tree
259 clear
260 kubectl create deployment nginx `
--image=nginx `
261 --dry-run=client `
--output=yaml
262 cleart
263 clear
264 kubectl create deployment nginx `--image=nginx `--dry-run=client `--output=yaml
265 clear
266 kubectl create deployment nginx --image=nginx --dry-run=client --output=yaml
267 ls
268 ourchart/templates/clear
269 clear
270 kubectl create deployment nginx --image=nginx --dry-run=client --output=yaml > ./ourchart/templates/deployment.yaml
271 more ourchart/templates/deployment.yaml
272 clear
273 kubectl create deployment nginx --image=nginx
274 kubectl get deploy
275 kubectl expose deployment nginx --type=LoadBalancer --port=80 --dry-run=client --output=yaml
276 clear
277 kubectl expose deployment nginx --type=LoadBalancer --port=80 --dry-run=client --output=yaml > ./ourchart/templates/service.yaml
278 tree
279 kubectl delete deployment nginx
280 more ourchart/templates/NOTES.txt
281 clear
282 rm .\ourchart\templates\NOTES.txt
283 rm ourchart/templates/NOTES.txt
284 echo 'A test Helm Chart' > ./ourchart/templates/NOTES.txt
285 tree
286 more ourchart/templates/NOTES.txt
287 clear
288 rm -rf ourchart/charts/
289 rm -rf ourchart/templates/tests/
290 cleatr
291 clear
292 ls
293 tree
294 helm install ourchart .\ourchart
295 helm install ourchart ./ourchart/
296 c;ear
297 clear
298 helm list
299 kubectl get all
300 helm list
301 helm uninstall my-apache
302 helm uninstall mysql
303 clear
304 helm list
305 kubectl get all
306 clear
307 ls
308 rm -rf ourchart/values.yaml
309 echo 'containerImage: nginx:1.17' > ourchart/values.yaml
310 tree
311 vi ourchart/templates/deployment.yaml
312 helm list
313 helm delete ourchart
314 helm list
315 history
316 helm install ourchart ./ourchart/
317 kubectl get all
318 clear
319 kubectl get deployment -o jsonpath='{ .items[*].spec.template.spec.containers[*].image }'
320 helm upgrade -h
321 helm upgrade -h | grep image
322 helm upgrade -h | grep -i image
323 helm upgrade -h
324 helm -h
325 helm upgrade -h
326 clear
327 helm upgrade -h
328 clear
329 helm upgrade ourchart ./ourchart --set containerImage=nginx:1.18
330 history
331 kubectl get deployment -o jsonpath='{ .items[*].spec.template.spec.containers[*].image }'
332 clear
333 kls
334 clear
335 l
336 ls
337 helm package ./ourchart/ --destination .
338 lls
Code language: PHP (php)
343 helm install chartmuseum andrewpruski/chartmuseum --dry-run --debug
344 clear
345 helm install chartmuseum chartmuseum --dry-run --debug
346 clear
347 helm repo add chartmuseum https://chartmuseum.github.io/charts
348 helm install chartmuseum chartmuseum --dry-run --debug
349 helm
350 helm repo list
351 clear
352 helm install chartmuseum chartmuseum/chartmuseum --dry-run --debug
353 clear
354 helm install chartmuseum chartmuseum/chartmuseum --set env.open.DISABLE_API=false
355 echo http://127.0.0.1:8080/
356 curl http://127.0.0.1:8080/
357 helm list
358 clear
359 kubectl get pods --show-labels
360 clear
361 kubectl get pods -l "app.kubernetes.io/name=chartmuseum" -o jsonpath="{.items[0].metadata.name}"
362 $POD_NAME=$(kubectl get pods -l "app.kubernetes.io/name=chartmuseum" -o jsonpath="{.items[0].metadata.name}")
363 echo $POD_NAME
364 $POD_NAME=$(kubectl get pods -l "app.kubernetes.io/name=chartmuseum" -o jsonpath="{.items[0].metadata.name}")
365 clear
366 kubectl get pods -l "app.kubernetes.io/name=chartmuseum" -o jsonpath="{.items[0].metadata.name}"
367 $POD_NAME=$(`kubectl get pods -l "app.kubernetes.io/name=chartmuseum" -o jsonpath="{.items[0].metadata.name}"`)
368 $POD_NAME=$(kubectl get pods -l "app.kubernetes.io/name=chartmuseum" -o jsonpath="{.items[0].metadata.name}")
369 POD_NAME=$(kubectl get pods -l "app.kubernetes.io/name=chartmuseum" -o jsonpath="{.items[0].metadata.name}")
370 echo $POD_NAME
371 clear
372 echo $POD_NAME
373 cleaar
374 kubectl port-forward -h
375 clear
376 kubectl port-forward --address 0.0.0.0 $POD_N
8 helm repo list
239 helm repo add chartmuseum1 http://127.0.0.1:8080
240 helm repo list
241 helm env
242 clear
243 ls
244 cd charts/
245 ls
246 pwd
247 cler
248 clear
249 curl --data-binary "@ourchart-0.1.0.tgz" http://localhost:8080/api/charts
250 helm search repo chartmuseum/ourchart
251 helm search repo chartmuseum1/ourchart
252 helm repo update
253 helm search repo chartmuseum1/ourchart
254 helm install ourchart chartmuseum1/ourchart
255 helm install ourchart1 chartmuseum1/ourchart
256 helm list
257 helm uninstall ourchart
258 helm install ourchart1 chartmuseum1/ourchart
259 history
Code language: PHP (php)
Working with helm remote repo using github
240 ls
241 git clone https://github.com/devopsschool-demo-temporary/helmgithubdemo.git
242 ls
243 cd
244 ls
245 cd /home/ubuntu/charts/
246 ls
247 cp ourchart-0.1.0.tgz /root/helmgithubdemo/
248 clear
249 l
250 ls
251 cd /root/helmgithubdemo/
252 ls
253 clear
254 ls
255 git status
256 git config user.name "Rajesh Kumar"
257 git config user.email "devops@rajeshkumar.xyz"
258 clear
259 helm repo index .
260 ls
261 more index.yaml
262 git add .
263 git commit -m "added ourchart to repo"
264 git branch
265 git push origin master
266 clear
267 helm repo add helmgithubdemo https://raw.githubusercontent.com/devopsschool-demo-temporary/helmgithubdemo/master/
268 helm list
269 helm repo list
270 helm search repo helmgithubdemo/ourchart
271 history
Code language: PHP (php)