Comments (5)
Thanks for the report.
This is actually the expected behavior. make run
runs the component in the foreground so that you can follow the log output in the terminal and quickly kill and restart as needed. You will need to interact with the cluster from another terminal.
Let me know if you have any other questions about this!
from metal3-dev-env.
Thanks @russellb.
Indeed you are right. Since, I am new to this environment, I still have one more question.
As mentioned, in my report, I followed the steps mentioned in README
. At first, I scaled down the custom Machine controller manager first using the following command
kubectl scale statefulset cluster-api-provider-baremetal-controller-manager -n metal3 --replicas=0
.
I added few lines of log prints in my local cluster-api-provider-baremetal-controller-manager
repository(in actuator .go
) and did the make run
. And then when I made changes in the cluster (I was trying to delete a machine object), I saw the new log prints in the console.
However, what I expected is that make run
will scale up with the newly compiled cluster-api-provider-baremetal-controller-manager
and that shall be reflected when I list the pods. Which is not the case here. So, where is the newly compiled cluster-api-provider-baremetal-controller-manager
running since I cannot see this when I list the pods in the cluster ?
Thanks in advance.
Kashif
Thanks for the report.
This is actually the expected behavior.
make run
runs the component in the foreground so that you can follow the log output in the terminal and quickly kill and restart as needed. You will need to interact with the cluster from another terminal.Let me know if you have any other questions about this!
from metal3-dev-env.
When you use make run
, you are no longer running the component in the cluster, so you won't see it when you list pods. To run a custom image that way, you'd have to build a custom image, push it to a container registry, edit the image in the appropriate manifest under the config/
directory, and then run make deploy
. It's a lot easier to test custom changes with make run
, just at the expense of it no longer running in the cluster.
from metal3-dev-env.
(sorry, didn't mean to click close)
from metal3-dev-env.
Thanks @russellb. This is clear now.
from metal3-dev-env.
Related Issues (20)
- apt-key is deprecated and scheduled for removal after ubuntu 22.04 HOT 11
- Why do we need to run it as a non root user? HOT 5
- Permission denied running make HOT 5
- Add connection test HOT 6
- Control-plane provisioning doesn't complete when used with a physical machine HOT 14
- Add bug_report template to the repository HOT 22
- Removal of 'baremetal' connection during host cleanup fails in CentOS runs HOT 5
- Upgrade feature test should allow upgrading to k8s 1.25.2 HOT 4
- Downloading images from artifactory.nordix.org is extremely slow HOT 4
- Is there any guide how the node image is built HOT 3
- Add pagination when requesting github API HOT 2
- Failed to install the dev environment due to a timeout in one of the kubectl commands HOT 3
- draft HOT 3
- Remove ansible feature tests HOT 4
- minikube delete hangs after bumping to v1.31.1 HOT 4
- lib/common.sh has passwordless sudo check HOT 8
- RegistrationError, Failed to get power state for node Error: IPMI call failed: power status. HOT 11
- [Flake] Deprovisioning failure in release-1.3 CentOS CI job HOT 3
- Properly manage modular libvirtd on rhel-9 and cs-9 HOT 5
- Proposal: Avoid using dirty repos for deploy HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metal3-dev-env.