Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Time Traveling in the Universe of Microservices...

Time Traveling in the Universe of Microservices and Orchestration

Ilya Dmitrichenko

October 27, 2017
Tweet

More Decks by Ilya Dmitrichenko

Other Decks in Technology

Transcript

  1. root # chroot /mnt/gentoo /bin/bash root # source /etc/profile root

    # export PS1="(chroot) $PS1" (chroot) root #
  2. root # chroot /mnt/gentoo /bin/bash root # source /etc/profile root

    # export PS1="(chroot) $PS1" (chroot) root # emerge \ --ask \ --update \ --deep \ --newuse \ @world
  3. >

  4. >

  5. > module load gcc/6.1.1 > which gcc /usr/local/gcc/6.1.1/linux-x86_64/bin/gcc > module

    unload gcc > which gcc gcc: Command not found. http://modules.sourceforge.net
  6. # add this to your profile [[ -s $HOME/.rvm/scripts/rvm ]]

    \ && source $HOME/.rvm/scripts/rvm # you will get $PATH modified on chdir cd(){ builtin cd $* source after_cd_hooks }
  7. > sudo apt-get install python-pip > sudo pip install --upgrade

    pip > cd /opt/$myapp > pip install -r requirements.txt
  8. $ORIGIN example.com $TTL 86400 @ IN SOA dns1.example.com. hostmaster.example.com. (

    2001062501 ; serial 21600 ; refresh after 6 hours 3600 ; retry after 1 hour 604800 ; expire after 1 week 86400 ) ; minimum TTL of 1 day IN NS dns1.example.com. IN NS dns2.example.com. IN MX 10 mail.example.com. IN MX 20 mail2.example.com. IN A 10.0.1.5 server1 IN A 10.0.1.5 server2 IN A 10.0.1.7 dns1 IN A 10.0.1.2 dns2 IN A 10.0.1.3 ftp IN CNAME server1 mail IN CNAME server1 mail2 IN CNAME server2 www IN CNAME server2
  9. $ORIGIN example.com $TTL 86400 @ IN SOA dns1.example.com. hostmaster.example.com. (

    2001062501 ; serial 21600 ; refresh after 6 hours 3600 ; retry after 1 hour 604800 ; expire after 1 week 86400 ) ; minimum TTL of 1 day IN NS dns1.example.com. IN NS dns2.example.com. IN MX 10 mail.example.com. IN MX 20 mail2.example.com. IN A 10.0.1.5 server1 IN A 10.0.1.5 server2 IN A 10.0.1.7 dns1 IN A 10.0.1.2 dns2 IN A 10.0.1.3 ftp IN CNAME server1 mail IN CNAME server1 mail2 IN CNAME server2 www IN CNAME server2 642 pages
  10. host2 host1 8080 8080 8080 8080 8080 8080 8080 8080

    8080 8080 8080 denied! NetworkPolicy
  11. > ps -ef | grep java java -jar /opt/myapp-v2.jar >

    stat -c %y /opt/myapp-v2.jar 2005-06-25 17:52:40.000000000