Win a copy of Spring in Action (5th edition) this week in the Spring forum!

Henry Wong

author
+ Follow
since Sep 28, 2004
Henry likes ...
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
Forum Moderator
Henry Wong currently moderates these forums:
New York City
Cows and Likes
Cows
Total received
140
In last 30 days
2
Total given
665
Likes
Total received
2224
Received in last 30 days
3
Total given
328
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Henry Wong

Yeah, definitely not getting that. I guess I need to look into it some more...

Henry

Tim Holloway wrote:I don't have one running in front of me right now, but the dashboard webapp has always supplied me with information about what's causing my problems.



Interesting. There is a dashboard...

Running "kubectl proxy" starts and gives access to the dashboard. However, going to the dashboard is just a JSON list of stuff. Is there something that I missed?

Henry

Marko Luksa wrote:You can try running kubectl describe pods   (or kubectl describe pod umstore). You'll see a list of events at the bottom, which should tell you why the container isn't starting.



Thanks. Visibility is a great thing....

Looks like the error is ... "hostPath type check failed: C:\umstuff is not a directory". The directory is definitely there. Additionally, since I thought it may be a Linux / Windows difference, I also tried "C:/umstuff" and "C:\\umstuff". They all failed. Could this be a permissions thingy?

Thanks,
Henry
First, not sure if this is the best place for this, so may move this topic around later...

To start, I got Docker and Kubernetes working fine on my Windows 10 laptop. I am able to start and attach onto the image fine. Next step, I changed the YAML file so that it will mount a directory on my laptop (using the host path option). This doesn't work -- and leaves the image stuck on startup...

C:\> kubectl get pods
NAME                       READY     STATUS                  RESTARTS   AGE
umstore                    0/1         ContainerCreating   0                1h



So, I guess the questions are... Specifically related to my issues, what should I look at? And in general, related to all issues, how do I get better visibility on what is going on? Of course, I can't fix something, if I don't know why the image isn't starting.

Thanks for any hints,
Henry
CodeRanch Book Promotions - This Year's Winners


A big Congratulations to all our winners!

See our BookPromotions2017Winners

DateCoverBookAuthor(s)PublisherWinnersStatus
January 2Architecting Modern Java EE ApplicationsSebastian DaschnerPacktRavi Desigan, Tim Holloway, Charles O'Leary, Esteban SuarezSent in winners 1/21/18; Received (1/22/18 Charles O'Leary)
January 9Getting started with Spring Framework: covers Spring 5J Sharma & Ashish SarinCreate SpaceRavi Saluru, J Kilgrow, Ramadan Pajaziti, David SachdevSent in winners 1/21/18
January 23Kubernetes in ActionMarko LuksaManningT Vergilio, Daniel Owen Williams, Jorge Ruiz-Aquino, Tim Holloway Winner reported received 4/20/18
January 30The Tao of MicroservicesJ Richard RodgerManningDaniel Demesmaecker, Dave Tolls, Ankur R Jain, Brian Burress Sent in winners 2/11/18; Received (18/4/18, Dave Tolls)
February 6Get Programming with Scala (MEAP only) Daniela SfregolaManningpaul nisset, Alex Khvatov, Will Myers, Thomas Zink Sent in winner info (3/18/18); Received (Will Myers 18/4/18)
February 13RESTful Service with JAX-RS 2.0 (Lynda three month subscription)Alex TheedomLyndaSatya Priya Sundar, Shantha Dodmane, Pankaj Sonani, Stephan van HulstSent in winner info (3/18/18)
February 27Java SE 9 for the ImpatientCay HorstmannAddison-Wesley ProfessionalJorge Ruiz-Aquino, Aysenur Eroglu, Campbell Ritchie, Andrew McDonald  Winner reported received (3/25/18)
March 20Java EE 8 High PerformanceRomain Manni-BucauPacktpaul nisset, Thomas Zink, David Sachdev, Alex ShykhmanWinners sent (4/22/18)
March 27 Java EE 8 - Only What's New (e-book)Alex TheedomLean PublishingClaude Moore, R.J. Arzki, Randy Maddocks, Naresh DonipartiWinners sent (4/19/18); (R.J Arzki - received on 26.04.2018)
April 3Effective JavaJosh BlochAddison-WesleyStephan van Hulst, Rob Spoor, Jorge Ruiz-Aquino, Granit BerishaWinner reported received (4/29/18)
April 10Murach's HTML5 and CSS3Anne Boehm & Zak RuvalcabaMurach Charles O'Leary, Bear Bibeault, Thomas Zink, Wex WuffleyWinners sent (5/20/18);Received (5/23/18 Charles O'Leary)
April 17Java by Comparison (e-book)Simon Harrer, Jörg Lenhard, Linus DietzPragmatic PressMartin McNicholas, Campbell Ritchie, Norm Radder, Timur Radzhabov  Winners sent (5/20/18)
April 24Securing DevOpsJulien VehentManningChun Chu, Rafael Morales, satya Priya Sundar, Noorul Hameed  Winners sent (5/20/18)
May 1Kafka Streams in Action Bill BejeckManningNoorul Hameed, Tim Holloway, Lanny Gilbert, R.J. ArzkiWinners sent (5/20/18)
May 8Testing Java MicroservicesAlex Soto Bueno and Jason PorterManningPaul Ramsden, meenakshi sundar, Stelios Ntilis, Al HobbsWinners sent (7/1/18)
May 22OCP Java SE 8 Programmer II Exam Study GuideKathy Sierra, Bert Bates & Elizabeth RobsonMcGraw-HillNoorul Hameed, Charles O'Leary, Kent O. Johnson, Jonathan DamronWinners sent (7/1/18); Received (9/4/18 Charles O'Leary)
June 5Optimizing JavaBen Evans, James Gough & Chris NewlandO'Reilly  Michael Krimgen, Jorge Ruiz-Aquino, Tim Holloway, ludoviko azuajeWinner reported received (7/8/18)
June 5Openshift in ActionJamie Duncan & John OsborneManning  paul nisset, Lukas Machacek, Carlos Solano, Timur RadzhabovWinners sent (7/1/18); (Ludoviko A. received on 07/10/18)  
June 12Get Programming with JavaScript NextJ.D. IsaacksManning  Bear Bibeault, Cody Biggs, Godfred Kofi, Pete LetkemanWinners sent (7/1/18)
June 12Scala for Java DevelopersToby WestonApress  Zach Rode, Lukas Machacek, German Gonzalez-Morris, Janeice DelVecchioWinners sent (7/1/18)
June 19Classic Computer Science Problems in Swift David KopecManning  Piet Souris, German Gonzalez-Morris, Kent O. JohnsonWinners sent (7/1/18)
June 26The Quick Python Book, Third EditionNaomi CederManning  Timur Radzhabov, Patricia McCormick, paul nisset, Rick SilvaWinners sent (7/30/18)
July 10Redux in ActionMarc Garreau & Will FaurotManningSalil Wadnerkar, Bear Bibeault, Wirianto Djunaidi , Cody BiggsWinners sent (7/30/18)
July 17Machine Learning SystemsJeff SmithManningGerman Gonzalez-Morris, Raj Govindaraju, Zach Rode, Piet SourisWinners sent (7/30/18)
July 17Xamarin in ActionJim BennettManningPete Letkeman, Tim Moores, Kondwani Chipeta, Carlos SolanoWinners sent (7/30/18)
July 24React in ActionMark Tielens ThomasManningPhelipe Maia, Lanny Gilbert, Bear Bibeault, Stephan van HulstWinners sent (8/21/18)
July 31OCA Java Programmer 8 Fundamentals 1Z0-808 (e-book)Hanumant DeshmukhEnthuwareNoorul Hameed, Piet Souris, Randy Maddocks, Esteban Suarez  Winners sent (8/21/18)downloaded at 8/23/18 (Piet Souris)
August 14Bad Programming Practices 101 (e-book)Karl BeecherApress  lee ji eun, Randy Too , Manish Pamnani , Chris WhitcombReceived (9/12/18 Randy Too)
August 21Create an Uber Clone in 7 Days: Build a real world full stack mobile app in JavaShai Almog Codename One Academy  Heidi Koester, Michael Krimgen, Islam Moheb, Jason DelaneyWinners sent (09/12/2018 Islam Moheb received e-book)
August 28Java EE 8 Design Patterns and Best PracticesRhuan Rocha & Joao Purificacao Packt Press  meenakshi sundar, Esteban Suarez, German Gonzalez-Morris , dhwani parekhWinners sent (09/12/2018 German Gonzalez-Morris received ebook)
September 11Software Design X-Rays (e-book)Adam Tornhill Pragmatic Press  darren hartford, Junilu Lacar, Michael Angstadt, German Gonzalez-MorrisSent in winners (10/3/18) (German Gonzalez-Morris received ebook)
September 18The Journey to Enterprise AgilityDaryl Kulak & Hong Li Springer  Hong Lii , Jorge Ruiz-Aquino , Junilu Lacar, German Gonzalez-MorrisWinner reporte dreceived (10/16/18)
September 25Pragmatic AINoah Gift Addison-Wesley Professional  Ninad Kulkarni, Salil Wadnerkar, Carl Byrd, Randy MaddocksSent in winners (10/3/18) (Carl Byrd received book)
October 2Modern Python Standard Library CookbookAlessandro Molina PacktJorge Ruiz-Aquino, Eusebio Floriano, Tim Holloway, Scott Mac DonaldSent in winners (10/29/18)
October 9Cloud Native ArchitecturesTom Laszewski, Kamal Arora, Erik Farr & Piyum Zonooz PacktBilly Tsai, Suresh Kumar Sethuramasamy, Salil Wadnerkar, Jorge Ruiz-AquinoWinner reported receiving e-book (10/30/18)
October 16Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based cloudsJames Denton PacktGreg Horie, Carl ByrdSent in winners (10/29/18) (Carl Byrd received e-book)
October 23Learning Regular ExpressionsBen Forta Addison-Wesley Professional  Aniruddha Kalburgi, Maria Moraru, Ryan McGuire, Stephen PaulsenSent in winners (12/3/18)
October 30Java Projects: Learn the fundamentals of Java 11 programming by building industry grade practical projectsPeter Verhas PacktStephan van Hulst, Jay Rex, Shyam Ashok, Kenneth MilotaSent in winners (12/3/18)
November 6Hands-On Continuous Integration and Delivery: Build and release quality software at scale with Jenkins, Travis CI, and CircleCIJean-Marcel Belmont PacktAdriano Anderson, Matt Campbell, Jorge Ruiz-Aquino, paul nisset  Sent in winners (12/3/18)
November 27Understanding the Four Rules of Simple Design (ebook only)Corey HainesLean Publishingmeenakshi sundarm, Himanshu Ahuja, Tony Singh, Davin Thomas  Waiting for winners info
December 4Modern Java in Action Raoul-Gabriel Urma, Mario Fusco & Alan MycroftManning Publishing Mikalai Zaikin, Lucian Revnic, satya Priya Sundar, Jorge Ruiz-AquinoWaiting for winners info  


Note: All dates in mm/dd/yyyy format.

Go back to the main BookPromotions page.

For questions about this page or to schedule a promotion, contact: bookpromotion AT javaranch DOT com
5 days ago

Campbell Ritchie wrote:
Can we pass my copy on to some other deserving soul?



Since Campbell has graciously forwarded his winnings to the next candidate, we have a new winner... Jorge Ruiz-Aquino.

Jorge, please follow the instructions in the original post (and PM) in order to claim your prize.

Thanks,
Henry
5 days ago
Scheduled promotions:

Note: We can run more than one promo in a given week, so check for updates.

Starting DateCoverBookAuthor(s)PublisherCodeRanch Forum
December 11Spring in Action (5th edition)Craig WallsManningSpring
December 18Microservices in Action Morgan Bruce & , Paulo A. PereiraManningWeb Services
December 25No Promo - Holiday
January 1No Promo - Holiday
January 8Electron in ActionSteve KinneyManningServer Side JavaScript & Node
January 15Available
January 22Available
January 29Available


Go back to the main BookPromotions page.
5 days ago
First, a big thanks to Raoul-Gabriel Urma, Mario Fusco & Alan Mycroft for being here to promote the book Modern Java in Action: Lambdas, streams, functional and reactive programming.

The winners are:

   Mikalai Zaikin
   Campbell Ritchie
   Lucian Revnic
   satya Priya Sundar
   Jorge Ruiz-Aquino

Please send your snail mail address to bookpromotion AT javaranch DOT com. To ensure the quickest response, please provide the following:

Your name (first and last - if your CodeRanch name is different, please include both your real name and Ranch name)
Email
Country (needed even if requesting an e-book)
Address
Phone Number


Also, please include the following as the subject of your Email.

Book Promo Winner - Modern Java in Action: Lambdas, streams, functional and reactive programming - Tuesday, December 4th, 2018


Image from https://images-na.ssl-images-amazon.com

As noted in the Book Promotion Eligibility Requirements and Legal type stuff, the winners have 8 days to submit their information. Within 3 days of receipt of your email, we will reply to let you know we got it. If you don't hear back, the goat might have eaten your email. Please let us know by posting in the Ranch Office so we can check on it. Once you have received your copy please let us know by editing the Book Promotions Winners Page and updating the 'Status' column to say you have it.

Thanks and congrats to all the winners.
5 days ago

Harry Kar wrote:
What's that(...brand new Celebrity Edge)?



It's a Cruise Ship from Celebrity Cruise Lines, that just got released...

Henry
6 days ago

From some reason, with a title like "Edge is out" and in the "Meaningless Drivel" forum, my first thought was that this would be a topic about the brand new Celebrity Edge...

Kinda disappointed now...

Henry
1 week ago

Ganesh Patekar wrote:

If I am not wrong, I should be able to award post with cows,

Privilege of granting cows starts from Rancher title.



Agreed. Girbot promotions do not grant extra privileges at the moment. Regardless, have a couple of cows for your inconvenience.

Henry
1 week ago
Bumping this topic with some news !! ...

Niantic / Pokemon Company just announced the addition of PvP -- ie. Player vs. Player battles -- for Pokemon Go. This is significant for two reasons. One. It may be the foundation for multiple battle types, likely leading to tournaments, in the future. And two. This completes the feature set mentioned in the trailer for Pokemon Go, released 2 1/2 years ago, when it was first announced in 2016!

This news is all hype at the moment. Will know more in a month...

Henry


Reference: Original Pokemon Go trailer from 2016
1 week ago

This week, we're delighted to have Raoul-Gabriel Urma, Mario Fusco & Alan Mycroft helping to answer questions about the new book Modern Java in Action: Lambdas, streams, functional and reactive programming.


The promotion starts Tuesday, December 4th, 2018 and will end on Friday, December 7th, 2018

We'll be selecting four random posters in this forum to win a free copy of the book provided by the publisher, Manning Publications.


Image from https://images-na.ssl-images-amazon.com

Please see the Book Promotion page to ensure your best chances at winning!


And ... the publisher, Manning Publications, is also running a special promotion. Please see these links for more information...

https://www.manning.com/news/countdown-to-2019
https://coderanch.com/t/703089/books/Manning-Tournament

Posts in this welcome thread are not eligible for the drawing, and should be reserved for welcoming the author. Questions posted in this topic are subject to removal.
1 week ago

must Janik wrote:Yea. Okey got it. What about this process tree?



It should be easy to go from the description to a diagram that puts the description in graph form. Did you work out the rest? If not, tell us what you did so far. If so, show us what you draw out so far. And of course why.

Henry
1 week ago

must Janik wrote:I see that img does not work.



The img tag requires an URL to an image file. In your case, it is to a html file.

Henry
1 week ago