This post outlines the process of setting up a local watsonx Orchestrate server and invoking a simple agent via REST API using Python. It covers environment setup, Bearer token retrieval, agent ID listing, and code execution.
CheatSheet: Essential Steps to Configure Podman Machines
Podman is enhancing its capabilities in managing containers, allowing seamless integration with Kubernetes. This blog outlines how to configure a Podman machine, including creating a machine with specific resources and modifying configurations without deletion. It highlights essential commands like podman machine init and podman machine set.
How do you handle access to the local filesystem data with Podman Desktop on macOS?
This blog post explores managing local filesystem access with Podman Desktop on macOS. It discusses two options: mapping an existing local folder as a volume to the container, and creating a local Podman volume and accessing data inside the container. Detailed steps for both approaches are provided, addressing potential access rights issues.
Getting started with Text Generation Inference (TGI) using a container to serve your LLM model
This blog post outlines a bash automation for setting up and testing Text Generation Inference (TGI) using a container. It provides instructions for creating a Python test client, starting the TGI server, and troubleshooting common issues. The post emphasizes the benefits of using containers and references the Hugging Face and Nvidia technologies.
CheatSheet: How to ensure you use the right Python environment in VS Code interpreter settings?
This post covers to ensure you set the virtual environment for Python in VS Code using venv. It details creating and activating a Python venv, and ensuring it’s used in VS Code environments. The steps include opening the VS Code command palette, selecting an interpreter, and navigating to the pyvenv.cfg file.
Unleash your creativity and design a custom visualization for the Shelly 3EM device with Grafana
The blog post details an example implementation of a connection server using Shelly 3EM, IBM Cloud Cloudant, and Grafana. It aims to store historical data for visualizing electricity consumption. The project involves detailed architecture, environment setup, Python, FastAPI, Podman, and more usage. The setup covers Raspberry Pi, Podman Compose, and IBM Cloud Code Engine environments, with prerequisites and detailed configurations. The approach allows users to monitor and visualize power consumption efficiently and cost-effectively using Grafana.
CheatSheet: Run a PostgreSQL container with Podman and podman-compose
This brief article provides a step-by-step guide for setting up and running a PostgreSQL database container locally using Podman Desktop and podman-compose. It covers installation, configuration, and execution, along with additional notes on maintenance and troubleshooting.
A custom Reranker deployment on Kubernetes
The objective of this project is to deploy the Reranker to a Kubernetes cluster in a VPC on IBM Cloud and access the REST API of the Reranker. The Reranker is a component of PrimeQA.
Using the internal OpenShift container registry to deploy an application
This cheat sheet is an extension to a blog post I made which is called: Configure a project in an IBM Cloud Red Hat OpenShift cluster to access the IBM Cloud Container Registry . In that related blog post we used the IBM Cloud Container registry to get the container images to run our example application. Now in this cheat sheet we will use the Red Hat OpenShift internal container registry and the Docker build strategy to deploy the same example application to OpenShift.
How to use environment variables to make a containerized Quarkus application more flexible
When you run a containerized application on a container orchestration platform like Kubernetes, Open Shift or with a serverless framework like Knative or Code Engine or on other platforms, it is helpful to pass endpoints to other applications to the containerized application by using environment variables. When the container will be restarted, these variables can be provided to the container and no adjustment in the source code is necessary. You can use configmaps or in Code Engine simple the environment variable itself.
