Skip to content

Commit 57a493d

Browse files
committed
add info about image pull policy
Signed-off-by: Filinto Duran <[email protected]>
1 parent b15df6b commit 57a493d

File tree

2 files changed

+34
-33
lines changed

2 files changed

+34
-33
lines changed

daprdocs/content/en/developing-applications/local-development/multi-app-dapr-run/multi-app-overview.md

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ apps:
124124
appDirPath: ./nodeapp/
125125
appPort: 3000
126126
containerImage: ghcr.io/dapr/samples/hello-k8s-node:latest
127+
containerImagePullPolicy: Always
127128
createService: true
128129
env:
129130
APP_PORT: 3000

daprdocs/content/en/developing-applications/local-development/multi-app-dapr-run/multi-app-template.md

+33-33
Original file line numberDiff line numberDiff line change
@@ -285,39 +285,39 @@ The properties for the Multi-App Run template align with the `dapr run -k` CLI f
285285

286286
{{< table "table table-white table-striped table-bordered" >}}
287287

288-
| Properties | Required | Details | Example |
289-
|--------------------------|:--------:|--------|---------|
290-
| `appDirPath` | Y | Path to the your application code | `./webapp/`, `./backend/` |
291-
| `appID` | N | Application's app ID. If not provided, will be derived from `appDirPath` | `webapp`, `backend` |
292-
| `appChannelAddress` | N | The network address the application listens on. Can be left to the default value by convention. | `127.0.0.1` | `localhost` |
293-
| `appProtocol` | N | The protocol Dapr uses to talk to the application. | `http`, `grpc` |
294-
| `appPort` | N | The port your application is listening on | `8080`, `3000` |
295-
| `daprHTTPPort` | N | Dapr HTTP port | |
296-
| `daprGRPCPort` | N | Dapr GRPC port | |
297-
| `daprInternalGRPCPort` | N | gRPC port for the Dapr Internal API to listen on; used when parsing the value from a local DNS component | |
298-
| `metricsPort` | N | The port that Dapr sends its metrics information to | |
299-
| `unixDomainSocket` | N | Path to a unix domain socket dir mount. If specified, communication with the Dapr sidecar uses unix domain sockets for lower latency and greater throughput when compared to using TCP ports. Not available on Windows. | `/tmp/test-socket` |
300-
| `profilePort` | N | The port for the profile server to listen on | |
301-
| `enableProfiling` | N | Enable profiling via an HTTP endpoint | |
302-
| `apiListenAddresses` | N | Dapr API listen addresses | |
303-
| `logLevel` | N | The log verbosity. | |
304-
| `appMaxConcurrency` | N | The concurrency level of the application; default is unlimited | |
305-
| `placementHostAddress` | N | | |
306-
| `appSSL` | N | Enable https when Dapr invokes the application | |
307-
| `daprHTTPMaxRequestSize` | N | Max size of the request body in MB. | |
308-
| `daprHTTPReadBufferSize` | N | Max size of the HTTP read buffer in KB. This also limits the maximum size of HTTP headers. The default 4 KB | |
309-
| `enableAppHealthCheck` | N | Enable the app health check on the application | `true`, `false` |
310-
| `appHealthCheckPath` | N | Path to the health check file | `/healthz` |
311-
| `appHealthProbeInterval` | N | Interval to probe for the health of the app in seconds
312-
| |
313-
| `appHealthProbeTimeout` | N | Timeout for app health probes in milliseconds | |
314-
| `appHealthThreshold` | N | Number of consecutive failures for the app to be considered unhealthy | |
315-
| `enableApiLogging` | N | Enable the logging of all API calls from application to Dapr | |
316-
| `env` | N | Map to environment variable; environment variables applied per application will overwrite environment variables shared across applications | `DEBUG`, `DAPR_HOST_ADD` |
317-
| `appLogDestination` | N | Log destination for outputting app logs; Its value can be file, console or fileAndConsole. Default is fileAndConsole | `file`, `console`, `fileAndConsole` |
318-
| `daprdLogDestination` | N | Log destination for outputting daprd logs; Its value can be file, console or fileAndConsole. Default is file | `file`, `console`, `fileAndConsole` |
319-
| `containerImage`| N | URI of the container image to be used when deploying to Kubernetes dev/test environment. | `ghcr.io/dapr/samples/hello-k8s-python:latest`
320-
| `createService`| N | Create a Kubernetes service for the application when deploying to dev/test environment. | `true`, `false` |
288+
| Properties | Required | Details | Example |
289+
|----------------------------|:--------:|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|
290+
| `appDirPath` | Y | Path to the your application code | `./webapp/`, `./backend/` |
291+
| `appID` | N | Application's app ID. If not provided, will be derived from `appDirPath` | `webapp`, `backend` |
292+
| `appChannelAddress` | N | The network address the application listens on. Can be left to the default value by convention. | `127.0.0`, `localhost` |
293+
| `appProtocol` | N | The protocol Dapr uses to talk to the application. | `http`, `grpc` |
294+
| `appPort` | N | The port your application is listening on | `8080`, `3000` |
295+
| `daprHTTPPort` | N | Dapr HTTP port | |
296+
| `daprGRPCPort` | N | Dapr GRPC port | |
297+
| `daprInternalGRPCPort` | N | gRPC port for the Dapr Internal API to listen on; used when parsing the value from a local DNS component | |
298+
| `metricsPort` | N | The port that Dapr sends its metrics information to | |
299+
| `unixDomainSocket` | N | Path to a unix domain socket dir mount. If specified, communication with the Dapr sidecar uses unix domain sockets for lower latency and greater throughput when compared to using TCP ports. Not available on Windows. | `/tmp/test-socket` |
300+
| `profilePort` | N | The port for the profile server to listen on | |
301+
| `enableProfiling` | N | Enable profiling via an HTTP endpoint | |
302+
| `apiListenAddresses` | N | Dapr API listen addresses | |
303+
| `logLevel` | N | The log verbosity. | |
304+
| `appMaxConcurrency` | N | The concurrency level of the application; default is unlimited | |
305+
| `placementHostAddress` | N | | |
306+
| `appSSL` | N | Enable https when Dapr invokes the application | |
307+
| `daprHTTPMaxRequestSize` | N | Max size of the request body in MB. | |
308+
| `daprHTTPReadBufferSize` | N | Max size of the HTTP read buffer in KB. This also limits the maximum size of HTTP headers. The default 4 KB | |
309+
| `enableAppHealthCheck` | N | Enable the app health check on the application | `true`, `false` |
310+
| `appHealthCheckPath` | N | Path to the health check file | `/healthz` |
311+
| `appHealthProbeInterval` | N | Interval to probe for the health of the app in seconds | |
312+
| `appHealthProbeTimeout` | N | Timeout for app health probes in milliseconds | |
313+
| `appHealthThreshold` | N | Number of consecutive failures for the app to be considered unhealthy | |
314+
| `enableApiLogging` | N | Enable the logging of all API calls from application to Dapr | |
315+
| `env` | N | Map to environment variable; environment variables applied per application will overwrite environment variables shared across applications | `DEBUG`, `DAPR_HOST_ADD` |
316+
| `appLogDestination` | N | Log destination for outputting app logs; Its value can be file, console or fileAndConsole. Default is fileAndConsole | `file`, `console`, `fileAndConsole` |
317+
| `daprdLogDestination` | N | Log destination for outputting daprd logs; Its value can be file, console or fileAndConsole. Default is file | `file`, `console`, `fileAndConsole` |
318+
| `containerImage` | N | URI of the container image to be used when deploying to Kubernetes dev/test environment. | `ghcr.io/dapr/samples/hello-k8s-python:latest` |
319+
| `containerImagePullPolicy` | N | The container image pull policy (default to `Always`). | `Always`, `IfNotPresent`, `Never` |
320+
| `createService` | N | Create a Kubernetes service for the application when deploying to dev/test environment. | `true`, `false` |
321321

322322
{{< /table >}}
323323

0 commit comments

Comments
 (0)