Today’s Learning

Personal diary for what I have learned day by day.

Check more in #today-learnings channel of our DevOps slack group.

https://www.dennyzhang.com/slack


linkedin
github
slack

PRs Welcome

No sensitive information related to my current employer

1.1 Sep 2018

[Denny Today] 2018-09-09, MountainView, CA

- Fully automate the wordpress publish process for all my sub-blogs
- Keep exporting local gcp knowledgebase to below blog

GCP Cheatsheet

[Denny Today] 2018-09-01, MountainView, CA

- Use cloudshell to run k8s on GCE
  https://kubernetes.io/docs/setup/turnkey/gce/

1.2 Aug, 2018

[Denny Today] 2018-08-29, MountainView, CA

- Try k8s statefulset tutorials
  https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/
- Go through the doc of k8s trouble shooting
  https://kubernetes.io/docs/tasks/debug-application-cluster/debug-application-introspection/

1.3 Feb, 2018

[Denny Today] Feb 7th, Houston TX

- Define Jenkins job to create public VM by terraform
  https://github.com/DennyZhang/terraform_jenkins_digitalocean
- Manually remove resources(VM/volumes/closed ES indices) for scaling down

[Denny Today] Feb 6th, Houston TX

- Publish ES script for deleting closed ES indices:
  https://github.com/DennyZhang/elasticsearch-cli-tool/tree/master/delete_closed_es_indices
- Interview multiple candidates

[Denny Today] Feb 5th, Houston TX

- ES maintenance: self-protection for index deletion. only allow delete closed index.
- Terraform wrapper: Create Jenkins job to create desired machine flavor.
- Code problem(twopointer): https://code.dennyzhang.com/minimum-window-substring

[Denny Today] Feb 2nd, Houston TX

- Update apache docker to enable SSL for vhosts
- Solved one interesting Trie Tree problem: https://code.dennyzhang.com/implement-magic-dictionary
- Update kitchen testcase to enforce SSL validation test

[Denny Today] Feb 1st, Houston TX

- Lots of ES reindexing.
- Working on ES performance issues.
- Solving some dynamic programming problems:
  https://code.dennyzhang.com/tag/dynamicprogramming

1.4 Jan, 2018

[Denny Today] Jan 31st, Houston TX

- Update chef code to avoid DB/APP autostart when cloud provider reboot hypervisors.
- Routine support and coding
- Learned reversior sampling algorithms
  https://code.dennyzhang.com/tag/reservoirsampling

[Denny Today] Jan 30th, Houston TX

- Preparing for region reboot from cloud provider, due to Meltdown and Spectre issue.
- Practice solving Backtracking problems by code

[Denny Today] Jan 29th, Houston TX

- Lots of work with ES reindexing.
  We have around 300 index to be migrated, due to data structure changes.
  The reindexing has failed many times because search queue is full. Also index has been closed due to some unhandled exceptions.

- Dump the main logic to below GitHub repo: https://github.com/DennyZhang/elasticsearch-cli-tool

[Denny Today] Jan 25th, Houston TX

- Defined a Jenkins pipeline job to proactively run all Jenkins check jobs for prod env
- Bumped into an ES alias inconsistency issue.
curl "http://${es_ip}:${es_port}/_alias/${alias_name}" : indicates alias has been updated correctly
curl "http://$es_ip:$es_port/${alias_name}/_count": indicates alias still point to old index

[Denny Today], Jan 22nd, Houston TX

- Cracked some dynamic programming problems. Pretty challenging.
   https://code.dennyzhang.com/tag/dynamicprogramming

[Denny Today] Jan 18th, Houston, TX

- Per new DigitialOcean machine flavor, presented prod env migration proposal.
  We will save *43.72%* per month!!

Live Demo: https://code.dennyzhang.com/

[Denny Today] Jan 17th, Houston TX

- Exported my local Python syntax cheatsheet to GitHub
   https://github.com/DennyZhang/cheatsheet-python-A4

[Denny Today] Jan 16th. Houston TX

- Solving one interesting design problem(code test)
  https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed/description/

[Denny Today], Jan 12st, Houston TX

- ES cluster run into red twice in the past 2 days.
  Should be some application requests trigger this. But no solid evidence yet.

[Denny Today] Jan 9th, Houston TX

- Exercise my *emacs* elisp skills: enforce 2-way sync in between a wordpress blog and a GitHub repo.
  `Any emacs veterans here`?

[Denny Yesterday] Jan 2nd, Houston TX


Learning 3 k8s service types. And trying to understand how it works behind the scene.
Not very clear yet

1.5 Nov, 2017

[Denny Today] Nov 29th, Houston TX

- Started a GitHub repo for my k8s deep dive
https://github.com/DennyZhang/challenges-kubernetes

1.6 More Resources

License: Code is licensed under MIT License.

linkedin
github
slack

Blog URL: https://www.dennyzhang.com/today-learning


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.