Ir al contenido principal

Entradas

Mostrando entradas de 2012

Understanding Liveness, Readiness and Startup Probes in Kubernetes

 This is a small article about understanding the liveness, readiness and startup in kubernetes.  There's good explanation in the kubernetes documentation: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ This video also explains well the process: https://www.youtube.com/watch?v=aTlQBofihJQ But I wanted to understand it in a practical way. So I have this demo: https://github.com/DiegoTc/guest-book-js-docker/tree/Running-App-Version-1 It's a simple application running on a kubernetes cluster. https://github.com/DiegoTc/guest-book-js-docker/blob/Running-App-Version-1/argo/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: chat-ui spec: replicas: 1 revisionHistoryLimit: 3 selector: matchLabels: app: chat-ui template: metadata: labels: app: chat-ui spec: containers: - image: diegotc/guestbook:20230803-064434 imagePullPolicy: Alwa...

Pepe Lobo y sus acusaciones de un posible golpe de estado

Aclaración. El siguiente contenido es opinión mía. Son suposiciones nada mas. No es algo que se haya comprobado. No hay que ser genio para saber lo que sucede en Honduras. Días atrás nuestro "excelentísimo" presidente, realizo una acusación sobre ciertos medios que piensan en darle golpe de estado. Lo mismo que sucedió en el 2009. Todos sabemos que ese fue un golpe. (Hay personas que van alegar sobre esto, pero vivimos en un país de supuesta democracia. No soy partidario del golpe, pero tampoco apoye Manuel Zelaya. Lo que si soy partidario es que no podemos sacar a un presidente solo por que asumimos que va hacer algo sin antes hacerlo. El tiene que estar sus 4 año, si después se pone de inteligente yo seria uno de los primeros que dirá saquen a ese cabrón de allí). Todos sabemos que Grupo Opsa (Diario La Prensa, El Heraldo) estuvieron metidos en eso, No es posible que minutos...

Primeros pasos en el ciclismo

Ya días estaba que quería empezar a practicar ciclismo, como principiante. Le pregunte a varios amigos, pero al final nadie se apunto. Hoy empece! No fue un gran recorrido. Estos son los datos del recorrido. Distancia Total: 6.74 kilómetros Distancia en subida: 3.53 kilómetros La idea principal es hacerlo este recorrido por 2 fines de semana. (Dudo que me vaya a levantar temprano todos los días.)

Something went wrong with my Ubuntu

Long time without writing. Well this is a new experience I had. I was working last night, shut down my laptop. Today on the morning I noticed something strange in my laptop each time I enter my password Unity never finish to load. I restart several time, and decide to start the graphical environment from the CLI mode. My surprise is the following. starting timidity++ alsa midi emulation fail So I start to google it from my smartphone and find some solutions in askubuntu. Solution #1  http://askubuntu.com/questions/63382/ubuntu-11-04-hangs-while-booting Solution #2  http://lkubuntu.wordpress.com/2011/08/30/quick-and-easy-way-to-fix-x11-issues/ So when I restart my system again finally it loads completely, but I was missing a nice surprise!!! Seven or eight windows about error reports. The funny part of this story is that each time I click in the report button, it never open the launchpad window for reporting the bu...

Problem solve thanks to askubuntu.com My Sql Update Problem after Update

Hi Long time ago I haven't write in my blog. The reason of this post is the fallowing. Last one I update mysql package. Mysteriously is stop working and getting a very nice error. My sql stop working. ProblemType: Package DistroRelease: Ubuntu 12.04 Package: mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21 Uname: Linux 3.2.0-27-generic x86_64 ApportVersion: 2.0.1-0ubuntu12 AptOrdering: mysql-server-5.5: Install mysql-server-5.5: Configure Architecture: amd64 Date: Sun Aug 12 23:44:04 2012 ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1 I report it as a bug . When I check the status, I saw it was a duplicate bug, and still no answer. So I decide to use askubuntu.com.  I have never use askubuntu.com, only staroverflow, but just for searching never asking a question and never answering one question. So at the end, I got my answer. The solution goes the fallowing w...

Adding Users to Existing Groups in Ubuntu (Oneiric Ocelot)

Hi have been working in Virtual Box, this days and need to add my user to the vboxusers group. I was going to do it graphically, and suddenly I notice that the application I use for doing this job it disappear. :( So I have to use the CLI If you know the group just do this Steps sudo usermod -a -G GROUP USER where -a means append. Add the user to the supplementary group(s). Use only with the -G option. If you want to read more about the usermod do man usermod If you don't know the group Steps groupmode 2 TIMES sudo usermod -a -G GROUP USER If you see the only difference is that you type groupmode and press tab 2 times and all the groups will be display. HOPE it works