You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site-src/guides/adapter-rollout.md
+2-48Lines changed: 2 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,36 +49,7 @@ data:
49
49
50
50
The new adapter version is applied to the model servers live, without requiring a restart.
51
51
52
-
53
-
### Direct traffic to the new adapter version
54
-
55
-
Modify the InferenceModel to configure a canary rollout with traffic splitting. In this example, 10% of traffic for food-review model will be sent to the new ***food-review-2*** adapter.
56
-
57
-
58
-
```bash
59
-
kubectl edit inferencemodel food-review
60
-
```
61
-
62
-
Change the targetModels list in InferenceModel to match the following:
Copy file name to clipboardExpand all lines: site-src/guides/epp-configuration/config-text.md
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,14 @@
1
-
# Configuring Plugins via text
1
+
# Configuring Plugins via YAML
2
2
3
3
The set of lifecycle hooks (plugins) that are used by the Inference Gateway (IGW) is determined by how
4
-
it is configured. The IGW can be configured in several ways, either by code or via text.
4
+
it is configured. The IGW is primarily configured via a configuration file.
5
5
6
-
If configured by code either a set of predetermined environment variables must be used or one must
7
-
fork the IGW and change code.
8
-
9
-
A simpler way to congigure the IGW is to use a text based configuration. This text is in YAML format
10
-
and can either be in a file or specified in-line as a parameter. The configuration defines the set of
6
+
The YAML file can either be specified as a path to a file or in-line as a parameter. The configuration defines the set of
11
7
plugins to be instantiated along with their parameters. Each plugin can also be given a name, enabling
12
-
the same plugin type to be instantiated multiple times, if needed.
8
+
the same plugin type to be instantiated multiple times, if needed (such as when configuring multiple scheduling profiles).
13
9
14
-
Also defined is a set of SchedulingProfiles, which determine the set of plugins to be used when scheduling a request. If one is not defailed, a default one names `default` will be added and will reference all of the
10
+
Also defined is a set of SchedulingProfiles, which determine the set of plugins to be used when scheduling a request.
11
+
If no scheduling profile is specified, a default profile, named `default` will be added and will reference all of the
15
12
instantiated plugins.
16
13
17
14
The set of plugins instantiated can include a Profile Handler, which determines which SchedulingProfiles
@@ -22,12 +19,9 @@ In addition, the set of instantiated plugins can also include a picker, which ch
22
19
the request is scheduled after filtering and scoring. If one is not referenced in a SchedulingProfile, an
23
20
instance of `MaxScorePicker` will be added to the SchedulingProfile in question.
24
21
25
-
It should be noted that while the configuration text looks like a Kubernetes Custom Resource, it is
26
-
**NOT** a Kubernetes Custom Resource. Kubernetes infrastructure is used to load the configuration
27
-
text and in the future will also help in versioning the text.
28
-
29
-
It should also be noted that even when the configuration text is loaded from a file, it is loaded at
30
-
the Endpoint-Picker's (EPP) startup and changes to the file at runtime are ignored.
22
+
***NOTE***: While the configuration text looks like a Kubernetes CRD, it is
23
+
**NOT** a Kubernetes CRD. Specifically, the config is not reconciled upon, and is only read on startup.
24
+
This is behavior is intentional, as augmenting the scheduling config without redeploying the EPP is not supported.
0 commit comments