2016-03-21 6 views
0

Ich habe die Dokumentation verfolgt, um ein zusätzliches B2-Modul zu meiner bestehenden Standard-F1-Instanz zu erstellen.Wie füge ich ein zweites Modul zu GAE hinzu?

app.yaml (Standardinstanz)

application: myapp-uat 
version: 1-7-0 
runtime: python27 
api_version: 1 
instance_class: F1 
automatic_scaling: 
    max_idle_instances: 2 
    max_pending_latency: 1s 
threadsafe: true 

- url: .* 
    script: run.myapp.app 

und das neue Modul:

application: myapp-uat 
module: backend 
version: 1.0.0 
runtime: python27 
api_version: 1 
threadsafe: true 

instance_class: B2 
manual_scaling: 
    instances: 1 

- url: /generator 
    script: run.myapp.app 
    login: admin 

Ich habe die App wie folgt aktualisiert:

appcfg.py update src app.yaml backend.yaml 

jedoch bei meiner Module suchen Im Dashboard sehe ich nur die Standardinstanz. Etwas stimmt hier nicht ganz.

enter image description here

+0

können Sie zeigen die Ausgabe/log des 'appcfg.py update' cmd? –

Antwort

0

Ok ich etwas Zitat dumm gemacht hatte. Der richtige Weg wäre:

appcfg.py update src/app.yaml src/backend.yaml 

und nicht zuletzt der Versand aufgerufen werden muss:

appcfg.py update_dispatch src 
Verwandte Themen