Skip to content

Commit

Permalink
Merge pull request #2160 from CSCfi/oc-cli-fix
Browse files Browse the repository at this point in the history
Added text to give more info
  • Loading branch information
lvarin authored Jul 15, 2024
2 parents be987b1 + 606f9ba commit 6dd0dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cloud/rahti2/images/creating.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ cat Dockerfile | oc new-build -D -

## Troubleshooting

If your build fails in Rahti 2, it could mean that your application needs more memory than is provided by default. Unfortunately, it's not possible to set the limits and/or requests from the CLI.
If your build fails in Rahti 2, it could mean that your application needs more memory than is provided by default. Unfortunately, it's not possible to set resource limits and requests directly from the CLI when deploying the app. You will need to use a YAML configuration file or the web UI to specify these settings.

You can create a yaml file and then apply it with the command `oc apply -f {your_yaml_file}.yaml` or edit your current `BuildConfig` in the Rahti 2 webUI.
In the Administrator view, navigate to `Builds > BuildConfigs` and click on your BuildConfig. Select the `YAML` tab.
Expand Down

0 comments on commit 6dd0dd8

Please sign in to comment.