Questions tagged [ibm-cloud-code-engine]

IBM Cloud Code Engine (or "Code Engine") provides a managed platform to run containers, applications or jobs.

IBM Cloud Code Engine (or "Code Engine") provides a managed platform to run containers, applications or jobs in a serverless fashion. The goal of Code Engine is helping developers create modern, source-centric containerized, and serverless apps on top of your Kubernetes cluster.

36 questions
1
vote
1 answer

IBM Cloud Code Engine: How to get IP addresses for my app, so that I can allowlist it?

I have an IBM Cloud Code Engine project with a deployed container app. That app needs to access a protected resource. I need to configure an allowlist and add the IP address(es) for the app. How do I find those IP addresses? Is there an official…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
1 answer

IBM Cloud Code Engine: Python app built from source fails to deploy

I have a Python Flask app in a Git repository. I wanted to deploy it from source in an IBM Cloud Code Engine project. I configured the public Git repo and the API key for the container registry. The build strategy is set to Cloud Native Buildpack…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
3 answers

IBM Cloud Code Engine: Locally built container image gives exec format error when deployed

I have created a container image on my machine (Mac). When testing it locally, all works fine. But the following does not work: Push the image to the Container Registry in IBM Cloud Create an application in Code Engine using the image It produces…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
1 answer

IBM Cloud: How to control number of container images caused by Code Engine builds?

I frequently build and deploy my app from source code using the IBM Cloud Code Engine feature. I noticed the container images filling up my container registry. How can I reduce the number of images in the container registry or limit how many are…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
3 answers

IBM Cloud Code Engine: Different response times for app revisions when traffic is split

I am running different versions / revisions of an app on IBM Cloud Code Engine. I split traffic 80/20 between them. I noticed that sometimes the app is responsive as expected, sometimes not. What could be the reason? How can I investigate?
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
1 answer

IBM Cloud Code Engine: How can I deploy an app from GitLab source without CLI

I create a project and saved it in GitLab. I tried to download the IBM Cloud CLI to my Windows 10 system and I failed, I try to do it Run as administrator as mention in the CLI docs. Now, I want to deploy this code project without CLI from source…
1
vote
1 answer

IBM Cloud Code Engine: How to check logs when app not active?

I have deployed an app to IBM Cloud Code Engine. It has the minimum instances configured to zero, so truly serverless and only active on demand. Now I wanted to check the logs from the CLI with ibmcloud ce app logs --name myapp --all it comes back…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
1 answer

IBM Cloud Code Engine revision fails when deploying standard container with port 80

I am trying to deploy an app in a Code Engine project. The container image is pretty standard: docker.io/library/httpd. All I did in the configuration wizard is to change the port from Code Engine default 8080 to port 80. Code Engine comes back…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
1
vote
2 answers

IBM Cloud Code Engine fails to build for private repo

I'm using IBM Cloud Code Engine to build the source code from a private git repo. I have tried many times, and the buildrun always failed. Following are the steps I have done. Add my public key (/root/.ssh/id_rsa.pub) to my private repo as a deploy…
Gai Tang
  • 13
  • 2
0
votes
1 answer

Strat code engine using 'ibmcloud ce' ctl error: configuration error

I am new to use ibmcloud ctl. My OS is Windows 11 I install the ibmcloud ctl from doc(for Windows users), and then I login, no problem. And then I install plugin 'code-engine' using ibmcloud plugin install code-engine, and do a ibmcloud plugin show…
XY DU
  • 1
0
votes
1 answer

IBM Cloud Code Engine: How to setup maintenance domain when backup going on

I want to show web application is under maintenance while the backup activity goin on. so user can't access the application till that time. In code engine it is possible or we need to do changes in code. Code engine provide any check for maintenance…
0
votes
2 answers

IBM Cloud Code Engine does not have authorization to pull an image from its own registry

I'm pretty new to IBM Cloud and Code Engine. I am trying to deploy an app called "project1" by uploading a docker container to IBM Cloud Container Registry and using it for a Code Engine application. The problem is, the app creation always fails…
0
votes
1 answer

IBM Cloud Code Engine: App works locally, but does not become ready in Code Engine

I have a Node.js app. It works fine when run locally and when deployed to Cloud Foundry. Now, I tried to move this app to IBM Cloud Code Engine. It builds ok, but it does not seem to become ready during the deployment stage. I can see this error in…
data_henrik
  • 16,724
  • 2
  • 28
  • 49
0
votes
1 answer

IBM Cloud: How to rename Code Engine project?

I created an IBM Cloud Code Engine project. The name was not well-chosen and needs to change. We already have a lot of resources in the project. I don't see an option to rename the project. Would I need to recreate the project and all its resources?
data_henrik
  • 16,724
  • 2
  • 28
  • 49
0
votes
1 answer

How to include the environment variables for IBM CloudEngine create/update task via secret Manager (keyValue Secret value)

After successfully creating Secret Manager instance in IBMcloud. I have created a key-value secret in default secret-group, this secret contains the default set of environment variables which will be used for CodeEngine deployment. However, I am now…
1
2 3