Ir al contenido principal

Entradas

Mostrando entradas de 2016

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...

Not an Ubuntu Topic, but a Humanity Towards Others

Hi, I'm completely sorry to publish this article in the Ubuntu planet, as it's not related to any Ubuntu Topic. I'm writing to you, requesting your help for one friend, coworker, Laura Cano. She has been indirectly involved in our Ubuntu Honduras Team. (She did the proof reading of our English articles). She is currently fighting Acute Lymphoblastic Leukemia for the second time. In order to recover she needs a bone marrow transplant. Unfortunately, this procedure is not done in Honduras. Meaning she would have to go abroad to get the transplant done as well as looking for a donor, getting the proper medical examinations, and other expenses. She cannot afford any of these because she is still recovering economically from the first episode. If you will like to help Laura please feel free to do so:  https://www.gofundme.com/laura-cano-medical-fund  or sharing this link to your friends will be of great help! As I mention at the beginning, this is not an Ubuntu To...

Find which devices are connected to our network

Sometimes, we want to know how many devices are connected to our network. With any Unix OS you get easily know this. For this small tutorial we´re going to use Lubuntu 16.04. We will use nmap. Nmap (Network Mapper) is a security scanner. It is used to discover hosts and services on a computer network. For installing it, we first do sudo apt-get install nmap If we just need to identify the host names  sudo nmap -sL 192.168.0.1/24  The result of this command will be Starting Nmap 7.01 ( https://nmap.org ) at 2016-10-02 12:39 CST Nmap scan report for 192.168.0.0 Nmap scan report for 192.168.0.1 Nmap scan report for 192.168.0.2 Nmap scan report for 192.168.0.3 Nmap scan report for 192.168.0.4 Nmap scan report for 192.168.0.5 If we need to know the OS of the devices we have connected we do a: sudo nmap -O 192.168.0.1/24 The address 192.188.0.1 depends of your network, you should do a ifconfig for knowing yours. The result of this command will be something l...

Using the calculator in the terminal

Hi to all, this is a small issue I had the last days. Use a calculator in the terminal. I have been working and sometimes need to do an arithmetic operation so I decided to open  calc (Ubuntu Calculator Default). But I was wondering, there has to be a way to use a calculator in the CLI. So after some search in the engine I found this question in Ask Ubuntu and tried several options. I will only write about the  best solution I found for my needs. In the question, you can find several solutions and probably you will find a different solution that will be best for you. CALC (Arbitrary precision calculator) Calc is an arbitrary precision arithmetic system that uses a C-like language. Calc is useful as a calculator, an algorithm prototyper and as a mathematical research tool. More importantly, calc provides one with a machine independent means of computation. Calc comes with a rich set of builtin mathematical and programmatic functions. If you want to install calc you c...

Somos soñadores y no ganadores

Este 13 de Agosto del 2016 de mala suerte no ha tenido nada. Después de llevar una clase toda una mañana sobre manejar los conflictos en proyectos ágiles, sentarme y pasar a papel una idea que ya días estaba en la cabeza, la clasificación a semifinales de la selección olímpica me puse a pensar que nosotros los hondureños no somos personas ganadoras. Son pocos o nulos los triunfos a nivel internacional que tenemos, en deporte, ciencia, arte, etc. Pero hay algo que todo catracho tiene. Es un soñador.  Siempre tiene una sueño que seguir, y si se propone lo logra. El problema es trabajarlo, luchar por el, pero si logra superar eso, nadie nos detiene. Les comparto este pelicula: La Meta de Eliyahu Goldratt Una pequeña pelicula como muestra los procesos de mejora continua, como una persona lucha por un sueño, que es evitar que cierren la fabrica que el administra,

Install Screencloud in Ubuntu 16.04

One of my favorite applications for taking screen shots in Ubuntu is Screecloud unfortunately there's no version available for Ubuntu 16.04. Searching in a github wiki, I found a discussion on running Screencloud at our own "risk" in Ubuntu 16.04. If you want to read the thread in github: https://github.com/olav-st/screencloud/issues/204 Steps for installing Screencloud at your own "risk" Ubuntu 16.04 Download libqtmultimediakit1 wget http://de.archive.ubuntu.com/ubuntu/pool/universe/q/qtmobility/libqtmultimediakit1_1.2.0-1ubuntu2_amd64.deb sudo dpkg -i libqtmultimediakit1_1.2.0-1ubuntu2_amd64.deb sudo apt-get install -f We need to modify our source list sudo nano /etc/apt/sources.list   We add the following line to the end of the file deb http://cz.archive.ubuntu.com/ubuntu wily main universe We install screencloud   sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_15.10/ /' >> /...

Actualizar de Ubuntu 14.04 a 16.04

Ya ha pasado vario tiempo, desde que estoy trabajando con la versión LTS Ubuntu 14.04, pero creo que ha llegado el tiempo de actualizar a la nueva versión LTS 16.04. Las principales razones, son que necesito trabajar con el nuevo kit de desarrollo de java 1.8 y no hay soporte oficial para la versión open source en 14.04. Aparte que nunca me sentí muy conforme con dicha versión, considero que hubieron anteriores mejores. Esta es una guía, que les permitirá migrar de Ubuntu 14.04 a 16.04. Paso 1: Aseguremos que estemos con las ultimas actualizaciones instaladas. Si tenemos una versión en español, saldría algo parecido a la imagen siguiente. Paso 2:  Abrimos la terminal, e insertamos el siguiente comando: sudo update-manager -d Saldra algo parecido a esta imagen. Le damos click al botón de actualizar. Nos aparecerá una ventana titulada "Notas de la versión" Despues de eso le damos click en actualizar. Después del botón de actualizar, nos aparecerá u...

Sobreviviendo con la gasolina catracha

Hablar de gasolina en Honduras, es producir un tema para quejarse y arremeter contra el gobierno. Tenemos el combustible mas caro de la región, y en cuanto a calidad no comento, porque no tengo conocimiento sobre esto. Sabado 26 de Marzo del 2016. Precio 650 lempiras Litros 34.067 Kilometraje 128,539 Esto fue el resultado de 650 lempiras, miremos como varia la cantidad en los próximos meses.